Package org.eclipse.jetty.unixsocket
Class UnixSocketEndPoint
- java.lang.Object
-
- org.eclipse.jetty.io.IdleTimeout
-
- org.eclipse.jetty.io.AbstractEndPoint
-
- org.eclipse.jetty.io.ChannelEndPoint
-
- org.eclipse.jetty.unixsocket.UnixSocketEndPoint
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,EndPoint,ManagedSelector.Selectable
public class UnixSocketEndPoint extends ChannelEndPoint
-
-
Constructor Summary
Constructors Constructor Description UnixSocketEndPoint(jnr.unixsocket.UnixSocketChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key, Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoShutdownOutput()jnr.unixsocket.UnixSocketChannelgetChannel()java.net.InetSocketAddressgetLocalAddress()java.net.InetSocketAddressgetRemoteAddress()-
Methods inherited from class org.eclipse.jetty.io.ChannelEndPoint
doClose, fill, flush, getTransport, isOpen, isOptimizedForDirectBuffers, needsFillInterest, onClose, onIncompleteFlush, onSelected, replaceKey, toEndPointString, updateKey
-
Methods inherited from class org.eclipse.jetty.io.AbstractEndPoint
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
-
Methods inherited from class org.eclipse.jetty.io.IdleTimeout
checkIdleTimeout, getIdleFor, getIdleTimeout, getScheduler, notIdle, setIdleTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.io.EndPoint
getIdleTimeout, setIdleTimeout
-
-
-
-
Constructor Detail
-
UnixSocketEndPoint
public UnixSocketEndPoint(jnr.unixsocket.UnixSocketChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key, Scheduler scheduler)
-
-
Method Detail
-
getChannel
public jnr.unixsocket.UnixSocketChannel getChannel()
- Overrides:
getChannelin classChannelEndPoint
-
getLocalAddress
public java.net.InetSocketAddress getLocalAddress()
- Specified by:
getLocalAddressin interfaceEndPoint- Overrides:
getLocalAddressin classChannelEndPoint- Returns:
- The local Inet address to which this
EndPointis bound, ornullif thisEndPointdoes not represent a network connection.
-
getRemoteAddress
public java.net.InetSocketAddress getRemoteAddress()
- Specified by:
getRemoteAddressin interfaceEndPoint- Overrides:
getRemoteAddressin classChannelEndPoint- Returns:
- The remote Inet address to which this
EndPointis bound, ornullif thisEndPointdoes not represent a network connection.
-
doShutdownOutput
protected void doShutdownOutput()
- Overrides:
doShutdownOutputin classChannelEndPoint
-
-