Package org.eclipse.jetty.io
Class Transport.Socket
java.lang.Object
org.eclipse.jetty.io.Transport.Socket
- All Implemented Interfaces:
Transport
- Direct Known Subclasses:
Transport.IP,Transport.Unix
- Enclosing interface:
- Transport
Abstract implementation of Transport based on sockets.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Transport
Transport.IP, Transport.Socket, Transport.TCPIP, Transport.TCPUnix, Transport.UDPIP, Transport.UDPUnix, Transport.Unix, Transport.Wrapper -
Field Summary
Fields inherited from interface org.eclipse.jetty.io.Transport
CONTEXT_KEY, TCP_IP, UDP_IP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.io.Transport
equals, getSocketAddress, hashCode, isIntrinsicallySecure, newClientConnectionFactory, newConnection, newEndPoint, newSelectableChannel, requiresDomainNameResolution
-
Constructor Details
-
Socket
public Socket()
-
-
Method Details
-
connect
Description copied from interface:TransportEstablishes a connection to the given socket address.
For
Transports thatrequire domain name resolution, this is the IP address resolved from the domain name. ForTransports that do not require domain name resolution (for example Unix-Domain sockets, or memory) this is the socket address to connect to. -
toString
-