org.apache.activemq.transport.stomp
Class StompNIOTransport
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportSupport
org.apache.activemq.transport.TransportThreadSupport
org.apache.activemq.transport.tcp.TcpTransport
org.apache.activemq.transport.stomp.StompNIOTransport
- All Implemented Interfaces:
- Runnable, Service, Transport
public class StompNIOTransport
- extends TcpTransport
An implementation of the Transport
interface for using Stomp over NIO
- Version:
- $Revision$
Fields inherited from class org.apache.activemq.transport.tcp.TcpTransport |
buffOut, closeAsync, connectionTimeout, dataIn, dataOut, dynamicManagement, ioBufferSize, jmxPort, localLocation, logWriterName, minmumWireFormatVersion, remoteLocation, socket, socketBufferSize, socketFactory, soTimeout, startLogging, stoppedLatch, trace, useLocalHost, wireFormat |
Methods inherited from class org.apache.activemq.transport.tcp.TcpTransport |
closeStreams, connect, doRun, getConnectionTimeout, getIoBufferSize, getJmxPort, getKeepAlive, getLogWriterName, getMinmumWireFormatVersion, getReceiveCounter, getRemoteAddress, getSocketBufferSize, getSoTimeout, getTcpNoDelay, initialiseSocket, isCloseAsync, isDynamicManagement, isStartLogging, isTrace, isUseLocalHost, narrow, oneway, readCommand, resolveHostName, run, setCloseAsync, setConnectionTimeout, setDynamicManagement, setIoBufferSize, setJmxPort, setKeepAlive, setLogWriterName, setMinmumWireFormatVersion, setSocketBufferSize, setSocketOptions, setSoTimeout, setStartLogging, setTcpNoDelay, setTrace, setUseLocalHost, stop, toString |
Methods inherited from class org.apache.activemq.transport.TransportSupport |
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, onException, reconnect, request, request, setTransportListener |
Methods inherited from interface org.apache.activemq.Service |
start |
StompNIOTransport
public StompNIOTransport(WireFormat wireFormat,
SocketFactory socketFactory,
URI remoteLocation,
URI localLocation)
throws UnknownHostException,
IOException
- Throws:
UnknownHostException
IOException
StompNIOTransport
public StompNIOTransport(WireFormat wireFormat,
Socket socket)
throws IOException
- Throws:
IOException
initializeStreams
protected void initializeStreams()
throws IOException
- Overrides:
initializeStreams
in class TcpTransport
- Throws:
IOException
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class TcpTransport
- Throws:
Exception
doStop
protected void doStop(ServiceStopper stopper)
throws Exception
- Overrides:
doStop
in class TcpTransport
- Throws:
Exception
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.