log.warning("Unsupported response type received: " + msg);
}
private void handleHandshakeResponse(GridClientHandshakeResponse msg) throws GridClientHandshakeException {
byte rc = msg.resultCode();
if (rc != GridClientHandshakeResponse.OK.resultCode()) {
<BUG>if (rc == GridClientHandshakeResponse.ERR_VERSION_CHECK_FAILED.resultCode())
log.warning("Client and server versions are different (see server log for more details).");
else if (rc == GridClientHandshakeResponse.ERR_UNKNOWN_PROTO_ID.resultCode())
throw new GridClientHandshakeException(rc, "Unknown/unsupported protocol ID.");</BUG>
else

log.warning("Unsupported response type received: " + msg);
}
private void handleHandshakeResponse(GridClientHandshakeResponse msg) throws GridClientHandshakeException {
byte rc = msg.resultCode();
if (rc != GridClientHandshakeResponse.OK.resultCode()) {
if (rc == GridClientHandshakeResponse.ERR_UNKNOWN_PROTO_ID.resultCode())
throw new GridClientHandshakeException(rc, "Unknown/unsupported protocol ID.");
else
