public class SocketChannelEndPoint extends ChannelEndPoint
| 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 |
|---|---|
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
Socket |
getSocket() |
doClose, fill, flush, getChannel, getTransport, isOpen, isOptimizedForDirectBuffers, onClose, onSelected, toEndPointString, updateKeycheckFill, checkFlush, close, fillInterested, getConnection, getCreatedTimeStamp, getFillInterest, getWriteFlusher, isFillInterested, isInputShutdown, isOutputShutdown, onOpen, setConnection, shutdownOutput, toConnectionString, toString, tryFillInterested, upgrade, writegetIdleFor, getIdleTimeout, getScheduler, notIdle, setIdleTimeoutequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdleTimeout, setIdleTimeoutpublic 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.Copyright © 2010 - 2020 Adobe. All Rights Reserved