public void endReadConnectRequestResponse(Buffer buf) { buf.b.position(0); byte b1 = buf.b.get(); byte b2 = buf.b.get(); if (b1 != 0x00 || b2 != 0x5a) { throw new Ice.ConnectFailedException(); } buf.reset(); }
public void endWriteConnectRequest(Buffer buf) { buf.reset(); }