Modifier and Type | Method and Description |
---|---|
int |
getClosestServerProtocol(UserConnection connection)
Returns the closest server protocol version to the user's protocol version.
|
int getClosestServerProtocol(UserConnection connection) throws java.lang.Exception
connection
- connectionjava.lang.Exception