Class NioClientSocketChannel
- java.lang.Object
-
- org.jboss.netty.channel.AbstractChannel
-
- org.jboss.netty.channel.socket.nio.AbstractNioChannel<java.nio.channels.SocketChannel>
-
- org.jboss.netty.channel.socket.nio.NioSocketChannel
-
- org.jboss.netty.channel.socket.nio.NioClientSocketChannel
-
- All Implemented Interfaces:
java.lang.Comparable<Channel>
,Channel
,SocketChannel
final class NioClientSocketChannel extends NioSocketChannel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.netty.channel.socket.nio.AbstractNioChannel
AbstractNioChannel.WriteRequestQueue
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
boundManually
(package private) long
connectDeadlineNanos
(package private) ChannelFuture
connectFuture
private static InternalLogger
logger
(package private) java.net.SocketAddress
requestedRemoteAddress
(package private) Timeout
timoutTimer
-
Fields inherited from class org.jboss.netty.channel.socket.nio.NioSocketChannel
state
-
Fields inherited from class org.jboss.netty.channel.socket.nio.AbstractNioChannel
channel, currentWriteBuffer, currentWriteEvent, highWaterMarkCounter, inWriteNowLoop, remoteAddress, worker, writeBufferQueue, writeBufferSize, writeLock, writeSuspended, writeTask, writeTaskInTaskQueue
-
Fields inherited from interface org.jboss.netty.channel.Channel
OP_NONE, OP_READ, OP_READ_WRITE, OP_WRITE
-
-
Constructor Summary
Constructors Constructor Description NioClientSocketChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, NioWorker worker)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.nio.channels.SocketChannel
newSocket()
-
Methods inherited from class org.jboss.netty.channel.socket.nio.NioSocketChannel
getConfig, getLocalSocketAddress, getRemoteSocketAddress, getWorker, isBound, isConnected, isOpen, setBound, setClosed, setConnected, write
-
Methods inherited from class org.jboss.netty.channel.socket.nio.AbstractNioChannel
getInternalInterestOps, getLocalAddress, getRemoteAddress, setInternalInterestOps
-
Methods inherited from class org.jboss.netty.channel.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, write
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.netty.channel.Channel
bind, close, connect, disconnect, getAttachment, getCloseFuture, getFactory, getId, getInterestOps, getParent, getPipeline, getUserDefinedWritability, isReadable, isWritable, setAttachment, setInterestOps, setReadable, setUserDefinedWritability, unbind, write
-
Methods inherited from interface org.jboss.netty.channel.socket.SocketChannel
getLocalAddress, getRemoteAddress
-
-
-
-
Field Detail
-
logger
private static final InternalLogger logger
-
connectFuture
volatile ChannelFuture connectFuture
-
boundManually
volatile boolean boundManually
-
connectDeadlineNanos
long connectDeadlineNanos
-
requestedRemoteAddress
volatile java.net.SocketAddress requestedRemoteAddress
-
timoutTimer
volatile Timeout timoutTimer
-
-
Constructor Detail
-
NioClientSocketChannel
NioClientSocketChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, NioWorker worker)
-
-