public interface ProtocolManager extends BufferDecoder
| Modifier and Type | Method and Description |
|---|---|
ConnectionEntry |
createConnectionEntry(Acceptor acceptorUsed,
Connection connection) |
void |
handleBuffer(RemotingConnection connection,
HornetQBuffer buffer) |
int |
isReadyToHandle(HornetQBuffer buffer)
called by the remoting system prior to
BufferHandler.bufferReceived(Object, org.hornetq.api.core.HornetQBuffer). |
void |
removeHandler(String name) |
ConnectionEntry createConnectionEntry(Acceptor acceptorUsed, Connection connection)
void removeHandler(String name)
int isReadyToHandle(HornetQBuffer buffer)
BufferDecoderBufferHandler.bufferReceived(Object, org.hornetq.api.core.HornetQBuffer).
The implementation should return true if there is enough data in the buffer to decode. otherwise false.isReadyToHandle in interface BufferDecoderbuffer - the buffervoid handleBuffer(RemotingConnection connection, HornetQBuffer buffer)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.