Class Transport.TCPUnix
java.lang.Object
org.eclipse.jetty.io.Transport.Socket
org.eclipse.jetty.io.Transport.Unix
org.eclipse.jetty.io.Transport.TCPUnix
- All Implemented Interfaces:
Transport
- Enclosing interface:
Transport
The stream Unix-Domain socket Transport.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Transport
Transport.IP, Transport.Socket, Transport.TCPIP, Transport.TCPUnix, Transport.UDPIP, Transport.UDPUnix, Transport.Unix, Transport.Wrapper -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewEndPoint(Scheduler scheduler, ManagedSelector selector, SelectableChannel selectable, SelectionKey selectionKey) ForTransports that are based on sockets, or forTransports that are layered on top of anotherTransportthat is based on sockets, this method is invoked to create a newEndPointthat wraps theSelectableChannelcreated byTransport.newSelectableChannel().ForTransports that are based on sockets, or forTransports that are layered on top of anotherTransportthat is based on sockets, this method is invoked to create a newSelectableChannelused for the socket communication.Methods inherited from class Transport.Unix
equals, getSocketAddress, hashCode, toStringMethods inherited from class Transport.Socket
connectMethods inherited from interface Transport
isIntrinsicallySecure, newConnection, requiresDomainNameResolution
-
Constructor Details
-
TCPUnix
-
-
Method Details
-
newSelectableChannel
Description copied from interface:TransportFor
Transports that are based on sockets, or forTransports that are layered on top of anotherTransportthat is based on sockets, this method is invoked to create a newSelectableChannelused for the socket communication.- Returns:
- a new
SelectableChannelused for the socket communication, ornullif the communication does not use sockets. - Throws:
IOException- if theSelectableChannelcannot be created
-
newEndPoint
public EndPoint newEndPoint(Scheduler scheduler, ManagedSelector selector, SelectableChannel selectable, SelectionKey selectionKey) Description copied from interface:TransportFor
Transports that are based on sockets, or forTransports that are layered on top of anotherTransportthat is based on sockets, this method is invoked to create a newEndPointthat wraps theSelectableChannelcreated byTransport.newSelectableChannel().- Parameters:
scheduler- theSchedulerselector- theManagedSelectorselectable- theSelectableChannelselectionKey- theSelectionKey- Returns:
- a new
EndPoint
-