protocolVersion property

int protocolVersion
final

The wire protocol major version the server speaks.

The server only answers a client it accepts, so this always matches. It is echoed so a newer client can tell an older server apart from one that simply never sent the field.

Implementation

final int protocolVersion;