memcachedLsnr.onMessage(ses, (GridMemcachedMessage)msg);
else {
if (msg == GridClientPingPacket.PING_MESSAGE)
ses.send(GridClientPingPacket.PING_MESSAGE);
else if (msg instanceof GridClientHandshakeRequest) {
<BUG>GridClientHandshakeResponse res = null;</BUG>
GridClientHandshakeRequest hs = (GridClientHandshakeRequest)msg;
byte[] verBytes = hs.versionBytes();
<BUG>if (!Arrays.equals(VER_BYTES, verBytes)) {
log.warning("Client version check failed [ses=" + ses +
</BUG>
", expected=" + Arrays.toString(VER_BYTES)

memcachedLsnr.onMessage(ses, (GridMemcachedMessage)msg);
else {
if (msg == GridClientPingPacket.PING_MESSAGE)
ses.send(GridClientPingPacket.PING_MESSAGE);
else if (msg instanceof GridClientHandshakeRequest) {
GridClientHandshakeRequest hs = (GridClientHandshakeRequest)msg;
byte[] verBytes = hs.versionBytes();
if (!Arrays.equals(VER_BYTES, verBytes))
U.warn(log, "Client version check failed [ses=" + ses +
", expected=" + Arrays.toString(VER_BYTES)
