Class Transport.UDPUnix
java.lang.Object
org.eclipse.jetty.io.Transport.Socket
org.eclipse.jetty.io.Transport.Unix
org.eclipse.jetty.io.Transport.UDPUnix
- All Implemented Interfaces:
Transport
- Enclosing interface:
Transport
The datagram 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) ForTransport
s that are based on sockets, or forTransport
s that are layered on top of anotherTransport
that is based on sockets, this method is invoked to create a newEndPoint
that wraps theSelectableChannel
created byTransport.newSelectableChannel()
.ForTransport
s that are based on sockets, or forTransport
s that are layered on top of anotherTransport
that is based on sockets, this method is invoked to create a newSelectableChannel
used for the socket communication.Methods inherited from class Transport.Unix
equals, getSocketAddress, hashCode, toString
Methods inherited from class Transport.Socket
connect
Methods inherited from interface Transport
isIntrinsicallySecure, newConnection, requiresDomainNameResolution
-
Constructor Details
-
UDPUnix
-
-
Method Details
-
newSelectableChannel
Description copied from interface:Transport
For
Transport
s that are based on sockets, or forTransport
s that are layered on top of anotherTransport
that is based on sockets, this method is invoked to create a newSelectableChannel
used for the socket communication.- Returns:
- a new
SelectableChannel
used for the socket communication, ornull
if the communication does not use sockets. - Throws:
IOException
- if theSelectableChannel
cannot be created
-
newEndPoint
public EndPoint newEndPoint(Scheduler scheduler, ManagedSelector selector, SelectableChannel selectable, SelectionKey selectionKey) Description copied from interface:Transport
For
Transport
s that are based on sockets, or forTransport
s that are layered on top of anotherTransport
that is based on sockets, this method is invoked to create a newEndPoint
that wraps theSelectableChannel
created byTransport.newSelectableChannel()
.- Parameters:
scheduler
- theScheduler
selector
- theManagedSelector
selectable
- theSelectableChannel
selectionKey
- theSelectionKey
- Returns:
- a new
EndPoint
-