java.io.Closeable
, java.lang.AutoCloseable
, EndPoint
, ManagedSelector.Selectable
public class UnixSocketEndPoint extends ChannelEndPoint
_currentInterestOps, _desiredInterestOps, _key, _selector
Constructor | Description |
---|---|
UnixSocketEndPoint(jnr.unixsocket.UnixSocketChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key,
Scheduler scheduler) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
doShutdownOutput() |
|
boolean |
flush(java.nio.ByteBuffer... buffers) |
|
java.net.InetSocketAddress |
getLocalAddress() |
|
java.net.InetSocketAddress |
getRemoteAddress() |
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
doClose, fill, getChannel, getTransport, isOpen, isOptimizedForDirectBuffers, needsFillInterest, onClose, onIncompleteFlush, onSelected, toEndPointString, updateKey
getIdleTimeout, setIdleTimeout
checkIdleTimeout, getIdleFor, getIdleTimeout, getIdleTimestamp, getScheduler, notIdle, setIdleTimeout
public UnixSocketEndPoint(jnr.unixsocket.UnixSocketChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key, Scheduler scheduler)
public java.net.InetSocketAddress getLocalAddress()
public java.net.InetSocketAddress getRemoteAddress()
protected void doShutdownOutput()
doShutdownOutput
in class AbstractEndPoint
public boolean flush(java.nio.ByteBuffer... buffers) throws java.io.IOException
flush
in interface EndPoint
flush
in class ChannelEndPoint
java.io.IOException
Copyright © 1995–2018 Webtide. All rights reserved.