java.io.Closeable, java.lang.AutoCloseable, EndPoint, ManagedSelector.SelectableSelectChannelEndPointpublic class SocketChannelEndPoint extends ChannelEndPoint
_currentInterestOps, _desiredInterestOps, _key, _selector| Constructor | Description |
|---|---|
SocketChannelEndPoint(java.nio.channels.SelectableChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key,
Scheduler scheduler) |
|
SocketChannelEndPoint(java.nio.channels.SocketChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key,
Scheduler scheduler) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doShutdownOutput() |
|
java.net.InetSocketAddress |
getLocalAddress() |
|
java.net.InetSocketAddress |
getRemoteAddress() |
|
java.net.Socket |
getSocket() |
checkFill, checkFlush, close, close, doShutdownInput, fillInterested, getConnection, getCreatedTimeStamp, getFillInterest, getWriteFlusher, isFillInterested, isInputShutdown, isOutputShutdown, onClose, onIdleExpired, onOpen, reset, setConnection, shutdownInput, shutdownOutput, toConnectionString, toString, tryFillInterested, upgrade, writedoClose, fill, flush, getChannel, getTransport, isOpen, isOptimizedForDirectBuffers, needsFillInterest, onClose, onIncompleteFlush, onSelected, toEndPointString, updateKeygetIdleTimeout, setIdleTimeoutcheckIdleTimeout, getIdleFor, getIdleTimeout, getIdleTimestamp, getScheduler, notIdle, setIdleTimeoutpublic SocketChannelEndPoint(java.nio.channels.SelectableChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key,
Scheduler scheduler)
public SocketChannelEndPoint(java.nio.channels.SocketChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key,
Scheduler scheduler)
public java.net.Socket getSocket()
public java.net.InetSocketAddress getLocalAddress()
EndPoint is bound, or null
if this EndPoint does not represent a network connection.public java.net.InetSocketAddress getRemoteAddress()
EndPoint is bound, or null
if this EndPoint does not represent a network connection.protected void doShutdownOutput()
doShutdownOutput in class AbstractEndPointCopyright © 1995–2018 Webtide. All rights reserved.