Class NioClientSocketChannel
java.lang.Object
org.jboss.netty.channel.AbstractChannel
org.jboss.netty.channel.socket.nio.AbstractNioChannel<SocketChannel>
org.jboss.netty.channel.socket.nio.NioSocketChannel
org.jboss.netty.channel.socket.nio.NioClientSocketChannel
- All Implemented Interfaces:
Comparable<Channel>, Channel, SocketChannel
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractNioChannel
AbstractNioChannel.WriteRequestQueue -
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) long(package private) ChannelFutureprivate static final InternalLogger(package private) SocketAddress(package private) TimeoutFields inherited from class NioSocketChannel
stateFields inherited from class AbstractNioChannel
channel, currentWriteBuffer, currentWriteEvent, highWaterMarkCounter, inWriteNowLoop, remoteAddress, worker, writeBufferQueue, writeBufferSize, writeLock, writeSuspended, writeTask, writeTaskInTaskQueueFields inherited from interface Channel
OP_NONE, OP_READ, OP_READ_WRITE, OP_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionNioClientSocketChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, NioWorker worker) -
Method Summary
Methods inherited from class NioSocketChannel
getConfig, getLocalSocketAddress, getRemoteSocketAddress, getWorker, isBound, isConnected, isOpen, setBound, setClosed, setConnected, writeMethods inherited from class AbstractNioChannel
getInternalInterestOps, getLocalAddress, getRemoteAddress, setInternalInterestOpsMethods inherited from class AbstractChannel
bind, close, compareTo, connect, disconnect, equals, getAttachment, getCloseFuture, getFactory, getId, getInterestOps, getParent, getPipeline, getSucceededFuture, getUnsupportedOperationFuture, getUserDefinedWritability, hashCode, isReadable, isWritable, setAttachment, setInterestOps, setReadable, setUnwritable, setUserDefinedWritability, setWritable, toString, unbind, writeMethods inherited from interface Channel
bind, close, connect, disconnect, getAttachment, getCloseFuture, getFactory, getId, getInterestOps, getParent, getPipeline, getUserDefinedWritability, isReadable, isWritable, setAttachment, setInterestOps, setReadable, setUserDefinedWritability, unbind, writeMethods inherited from interface Comparable
compareToMethods inherited from interface SocketChannel
getLocalAddress, getRemoteAddress
-
Field Details
-
logger
-
connectFuture
-
boundManually
volatile boolean boundManually -
connectDeadlineNanos
long connectDeadlineNanos -
requestedRemoteAddress
-
timoutTimer
-
-
Constructor Details
-
NioClientSocketChannel
NioClientSocketChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, NioWorker worker)
-
-
Method Details
-
newSocket
-