public class AutoNIOTransport extends org.apache.activemq.transport.nio.NIOTransport
channel, currentBuffer, inputBuffer, nextFrameSize, selectionbuffOut, closeAsync, connectionTimeout, dataIn, dataOut, diffServChosen, dynamicManagement, initBuffer, ioBufferSize, jmxPort, localLocation, logWriterName, minmumWireFormatVersion, receiveCounter, remoteLocation, socket, socketBufferSize, socketFactory, socketOptions, soTimeout, startLogging, stoppedLatch, trace, trafficClass, typeOfServiceChosen, useLocalHost, wireFormat| Constructor and Description |
|---|
AutoNIOTransport(org.apache.activemq.wireformat.WireFormat wireFormat,
Socket socket) |
AutoNIOTransport(org.apache.activemq.wireformat.WireFormat wireFormat,
SocketFactory socketFactory,
URI remoteLocation,
URI localLocation) |
AutoNIOTransport(org.apache.activemq.wireformat.WireFormat format,
Socket socket,
org.apache.activemq.transport.tcp.TcpTransport.InitBuffer initBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
readFromBuffer()
Read from the initial buffer if it is set
|
doStart, doStop, initializeStreams, serviceReadcloseStreams, connect, doRun, getConnectionTimeout, getDiffServ, getIoBufferSize, getJmxPort, getKeepAlive, getLogWriterName, getMinmumWireFormatVersion, getPeerCertificates, 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, setPeerCertificates, setSocketBufferSize, setSocketOptions, setSoLinger, setSoTimeout, setStartLogging, setTcpNoDelay, setTrace, setTypeOfService, setUseLocalHost, stop, toStringgetStackSize, isDaemon, setDaemon, setStackSizeasyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, onException, reconnect, request, request, setTransportListener, updateURIsaddServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, startclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic AutoNIOTransport(org.apache.activemq.wireformat.WireFormat format, Socket socket, org.apache.activemq.transport.tcp.TcpTransport.InitBuffer initBuffer) throws IOException
IOExceptionpublic AutoNIOTransport(org.apache.activemq.wireformat.WireFormat wireFormat, Socket socket) throws IOException
IOExceptionpublic AutoNIOTransport(org.apache.activemq.wireformat.WireFormat wireFormat, SocketFactory socketFactory, URI remoteLocation, URI localLocation) throws UnknownHostException, IOException
UnknownHostExceptionIOExceptionprotected int readFromBuffer() throws IOException
readFromBuffer in class org.apache.activemq.transport.nio.NIOTransportIOExceptionCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.