Methods Summary |
---|
public java.nio.ByteBuffer | getByteBuffer()
return resultByteBuffer;
|
public com.sun.enterprise.web.connector.grizzly.Handler | getHandler()
return handler;
|
public java.nio.channels.SocketChannel | getSocketChannel()
return socketChannel;
|
public boolean | parse(java.nio.ByteBuffer byteBuffer)
byteBuffer.flip();
this.resultByteBuffer = byteBuffer;
return true;
|
public void | recycle()
resultByteBuffer = null;
socketChannel = null;
super.recycle();
|
public void | setPort(int port)Algorith is usually created with Class.newInstance -> its port
is not set before,
but port value is required in handler's constructor
super.setPort(port);
handler = new WSTCPFramedConnectionHandler(this);
|