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 voidonCommand(Object o)called to process a commandvoidstop()StringtoString()-
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:TransportListenercalled to process a command- Specified by:
onCommandin interfaceTransportListener- Overrides:
onCommandin classTransportFilter
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceService- Overrides:
stopin classTransportFilter- Throws:
Exception- See Also:
Service.stop()
-
toString
public String toString()
- Overrides:
toStringin classTransportFilter
-
-