|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportSupport
org.apache.activemq.transport.TransportThreadSupport
org.apache.activemq.transport.tcp.TcpTransport
org.apache.activemq.transport.amqp.AmqpNioTransport
public class AmqpNioTransport
An implementation of the Transport interface for using AMQP over NIO
| Field Summary |
|---|
| Fields inherited from class org.apache.activemq.transport.tcp.TcpTransport |
|---|
buffOut, closeAsync, connectionTimeout, dataIn, dataOut, diffServChosen, dynamicManagement, ioBufferSize, jmxPort, localLocation, logWriterName, minmumWireFormatVersion, receiveCounter, remoteLocation, socket, socketBufferSize, socketFactory, soTimeout, startLogging, stoppedLatch, trace, trafficClass, typeOfServiceChosen, useLocalHost, wireFormat |
| Constructor Summary | |
|---|---|
AmqpNioTransport(org.apache.activemq.wireformat.WireFormat wireFormat,
Socket socket)
|
|
AmqpNioTransport(org.apache.activemq.wireformat.WireFormat wireFormat,
SocketFactory socketFactory,
URI remoteLocation,
URI localLocation)
|
|
| Method Summary | |
|---|---|
protected void |
doStart()
|
protected void |
doStop(ServiceStopper stopper)
|
protected void |
initializeStreams()
|
| Methods inherited from class org.apache.activemq.transport.tcp.TcpTransport |
|---|
closeStreams, connect, doRun, getConnectionTimeout, getDiffServ, getIoBufferSize, getJmxPort, getKeepAlive, getLogWriterName, getMinmumWireFormatVersion, getReceiveCounter, getRemoteAddress, getSocketBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTypeOfService, getWireFormat, initialiseSocket, isCloseAsync, isDynamicManagement, isStartLogging, isTrace, isUseLocalHost, narrow, oneway, readCommand, resolveHostName, run, setCloseAsync, setConnectionTimeout, setDiffServ, setDynamicManagement, setIoBufferSize, setJmxPort, setKeepAlive, setLogWriterName, setMinmumWireFormatVersion, setSocketBufferSize, setSocketOptions, setSoLinger, setSoTimeout, setStartLogging, setTcpNoDelay, setTrace, setTypeOfService, setUseLocalHost, stop, toString |
| Methods inherited from class org.apache.activemq.transport.TransportThreadSupport |
|---|
getStackSize, isDaemon, setDaemon, setStackSize |
| Methods inherited from class org.apache.activemq.transport.TransportSupport |
|---|
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, onException, reconnect, request, request, setTransportListener, updateURIs |
| Methods inherited from class org.apache.activemq.util.ServiceSupport |
|---|
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.activemq.transport.Transport |
|---|
asyncRequest, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, reconnect, request, request, setTransportListener, updateURIs |
| Methods inherited from interface org.apache.activemq.Service |
|---|
start |
| Constructor Detail |
|---|
public AmqpNioTransport(org.apache.activemq.wireformat.WireFormat wireFormat,
SocketFactory socketFactory,
URI remoteLocation,
URI localLocation)
throws UnknownHostException,
IOException
UnknownHostException
IOException
public AmqpNioTransport(org.apache.activemq.wireformat.WireFormat wireFormat,
Socket socket)
throws IOException
IOException| Method Detail |
|---|
protected void initializeStreams()
throws IOException
initializeStreams in class org.apache.activemq.transport.tcp.TcpTransportIOException
protected void doStart()
throws Exception
doStart in class org.apache.activemq.transport.tcp.TcpTransportException
protected void doStop(ServiceStopper stopper)
throws Exception
doStop in class org.apache.activemq.transport.tcp.TcpTransportException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||