Interface BufferHandler
- All Known Subinterfaces:
CoreRemotingConnection,RemotingConnection
- All Known Implementing Classes:
AbstractRemotingConnection,ManagementRemotingConnection,RemotingConnectionImpl
public interface BufferHandler
A BufferHandler that will handle buffers received by an acceptor.
The Buffer Handler will decode the buffer and take the appropriate action, typically forwarding to the correct channel.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbufferReceived(Object connectionID, ActiveMQBuffer buffer) called by the remoting connection when a buffer is received.default voidendOfBatch(Object connectionID)
-
Method Details
-
bufferReceived
called by the remoting connection when a buffer is received.- Parameters:
connectionID- the connection the buffer was received onbuffer- the buffer to decode
-
endOfBatch
-