Interface BufferHandler
-
- All Known Subinterfaces:
RemotingConnection
- All Known Implementing Classes:
AbstractRemotingConnection
public interface BufferHandlerA 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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidbufferReceived(java.lang.Object connectionID, org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)called by the remoting connection when a buffer is received.default voidendOfBatch(java.lang.Object connectionID)
-
-
-
Method Detail
-
bufferReceived
void bufferReceived(java.lang.Object connectionID, org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)called by the remoting connection when a buffer is received.- Parameters:
connectionID- the connection the buffer was received onbuffer- the buffer to decode
-
endOfBatch
default void endOfBatch(java.lang.Object connectionID)
-
-