public class UnixSocketEndPoint extends ChannelEndPoint
_currentInterestOps, _desiredInterestOps, _key, _selector
Constructor and Description |
---|
UnixSocketEndPoint(jnr.unixsocket.UnixSocketChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key,
Scheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
protected void |
doShutdownOutput() |
boolean |
flush(java.nio.ByteBuffer... buffers)
Flush data from the passed header/buffer to this endpoint.
|
java.net.InetSocketAddress |
getLocalAddress() |
java.net.InetSocketAddress |
getRemoteAddress() |
doClose, fill, 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 UnixSocketEndPoint(jnr.unixsocket.UnixSocketChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key, Scheduler scheduler)
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 AbstractEndPoint
public boolean flush(java.nio.ByteBuffer... buffers) throws java.io.IOException
EndPoint
flush
in interface EndPoint
flush
in class ChannelEndPoint
buffers
- the buffers to flushjava.io.IOException
- If the endpoint is closed or output is shutdown.Copyright © 1995–2018 Webtide. All rights reserved.