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
,org.eclipse.jetty.io.EndPoint
,org.eclipse.jetty.io.ManagedSelector.Selectable
public class UnixSocketEndPoint extends org.eclipse.jetty.io.ChannelEndPoint
-
-
Field Summary
Fields Modifier and Type Field Description private static org.eclipse.jetty.util.log.Logger
LOG
-
Constructor Summary
Constructors Constructor Description UnixSocketEndPoint(jnr.unixsocket.UnixSocketChannel channel, org.eclipse.jetty.io.ManagedSelector selector, java.nio.channels.SelectionKey key, org.eclipse.jetty.util.thread.Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doShutdownOutput()
jnr.unixsocket.UnixSocketChannel
getChannel()
java.net.InetSocketAddress
getLocalAddress()
java.net.InetSocketAddress
getRemoteAddress()
-
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
-
-
-
-
Method Detail
-
getChannel
public jnr.unixsocket.UnixSocketChannel getChannel()
- Overrides:
getChannel
in classorg.eclipse.jetty.io.ChannelEndPoint
-
getLocalAddress
public java.net.InetSocketAddress getLocalAddress()
- Specified by:
getLocalAddress
in interfaceorg.eclipse.jetty.io.EndPoint
- Overrides:
getLocalAddress
in classorg.eclipse.jetty.io.ChannelEndPoint
-
getRemoteAddress
public java.net.InetSocketAddress getRemoteAddress()
- Specified by:
getRemoteAddress
in interfaceorg.eclipse.jetty.io.EndPoint
- Overrides:
getRemoteAddress
in classorg.eclipse.jetty.io.ChannelEndPoint
-
doShutdownOutput
protected void doShutdownOutput()
- Overrides:
doShutdownOutput
in classorg.eclipse.jetty.io.ChannelEndPoint
-
-