public class SocketChannelEndPoint extends ChannelEndPoint
_currentInterestOps, _desiredInterestOps, _key, _selector
Constructor and Description |
---|
SocketChannelEndPoint(SelectableChannel channel,
ManagedSelector selector,
SelectionKey key,
Scheduler scheduler) |
SocketChannelEndPoint(SocketChannel channel,
ManagedSelector selector,
SelectionKey key,
Scheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
protected void |
doShutdownOutput() |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
Socket |
getSocket() |
doClose, fill, flush, getChannel, getTransport, isOpen, isOptimizedForDirectBuffers, needsFillInterest, onClose, onIncompleteFlush, onSelected, toEndPointString, updateKey
checkFill, checkFlush, close, close, doShutdownInput, fillInterested, getConnection, getCreatedTimeStamp, getFillInterest, getWriteFlusher, isFillInterested, isInputShutdown, isOutputShutdown, onClose, onIdleExpired, onOpen, reset, setConnection, shutdownInput, shutdownOutput, toConnectionString, toString, tryFillInterested, upgrade, write
checkIdleTimeout, getIdleFor, getIdleTimeout, getIdleTimestamp, getScheduler, notIdle, setIdleTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdleTimeout, setIdleTimeout
public SocketChannelEndPoint(SelectableChannel channel, ManagedSelector selector, SelectionKey key, Scheduler scheduler)
public SocketChannelEndPoint(SocketChannel channel, ManagedSelector selector, SelectionKey key, Scheduler scheduler)
public Socket getSocket()
public InetSocketAddress getLocalAddress()
EndPoint
is bound, or null
if this EndPoint
does not represent a network connection.public InetSocketAddress getRemoteAddress()
EndPoint
is bound, or null
if this EndPoint
does not represent a network connection.protected void doShutdownOutput()
doShutdownOutput
in class AbstractEndPoint
Copyright © 1995–2017 Webtide. All rights reserved.