public class StompTransportFilter extends TransportFilter implements StompTransport
next, transportListener| Constructor and Description |
|---|
StompTransportFilter(Transport next,
org.apache.activemq.wireformat.WireFormat wireFormat,
BrokerContext brokerContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultHeartBeat() |
float |
getHbGracePeriodMultiplier()
Returns the currently configured Read check grace period multiplier.
|
StompInactivityMonitor |
getInactivityMonitor() |
StompWireFormat |
getWireFormat() |
boolean |
isTrace() |
void |
onCommand(Object command) |
void |
oneway(Object o) |
void |
sendToActiveMQ(org.apache.activemq.command.Command command) |
void |
sendToStomp(StompFrame command) |
void |
setDefaultHeartBeat(String defaultHeartBeat) |
void |
setHbGracePeriodMultiplier(float hbGracePeriodMultiplier)
Sets the read check grace period multiplier.
|
void |
setInactivityMonitor(StompInactivityMonitor monitor) |
void |
setTrace(boolean trace) |
asyncRequest, getNext, getReceiveCounter, getRemoteAddress, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, onException, reconnect, request, request, setTransportListener, start, stop, toString, transportInterupted, transportResumed, updateURIsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonExceptionpublic StompTransportFilter(Transport next, org.apache.activemq.wireformat.WireFormat wireFormat, BrokerContext brokerContext)
public void oneway(Object o) throws IOException
oneway in interface Transportoneway in class TransportFilterIOExceptionpublic void onCommand(Object command)
onCommand in interface TransportListeneronCommand in class TransportFilterpublic void sendToActiveMQ(org.apache.activemq.command.Command command)
sendToActiveMQ in interface StompTransportpublic void sendToStomp(StompFrame command) throws IOException
sendToStomp in interface StompTransportIOExceptionpublic boolean isTrace()
public void setTrace(boolean trace)
public StompInactivityMonitor getInactivityMonitor()
getInactivityMonitor in interface StompTransportpublic void setInactivityMonitor(StompInactivityMonitor monitor)
public StompWireFormat getWireFormat()
getWireFormat in interface StompTransportpublic String getDefaultHeartBeat()
public void setDefaultHeartBeat(String defaultHeartBeat)
public float getHbGracePeriodMultiplier()
public void setHbGracePeriodMultiplier(float hbGracePeriodMultiplier)
hbGracePeriodMultiplier - the hbGracePeriodMultiplier to setCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.