Package org.apache.activemq.transport
Class CommandJoiner
- java.lang.Object
-
- org.apache.activemq.transport.TransportFilter
-
- org.apache.activemq.transport.CommandJoiner
-
- All Implemented Interfaces:
Service
,Transport
,TransportListener
public class CommandJoiner extends TransportFilter
Joins together of partial commands which were split into individual chunks of data.
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.transport.TransportFilter
next, transportListener
-
-
Constructor Summary
Constructors Constructor Description CommandJoiner(Transport next, OpenWireFormat wireFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCommand(Object o)
called to process a commandvoid
stop()
String
toString()
-
Methods inherited from class org.apache.activemq.transport.TransportFilter
asyncRequest, getNext, getPeerCertificates, getReceiveCounter, getRemoteAddress, getTransportListener, getWireFormat, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, oneway, onException, reconnect, request, request, setPeerCertificates, setTransportListener, start, transportInterupted, transportResumed, updateURIs
-
-
-
-
Constructor Detail
-
CommandJoiner
public CommandJoiner(Transport next, OpenWireFormat wireFormat)
-
-
Method Detail
-
onCommand
public void onCommand(Object o)
Description copied from interface:TransportListener
called to process a command- Specified by:
onCommand
in interfaceTransportListener
- Overrides:
onCommand
in classTransportFilter
-
stop
public void stop() throws Exception
- Specified by:
stop
in interfaceService
- Overrides:
stop
in classTransportFilter
- Throws:
Exception
- See Also:
Service.stop()
-
toString
public String toString()
- Overrides:
toString
in classTransportFilter
-
-