Uses of Class
java.net.ServerSocket
-
Packages that use ServerSocket Package Description java.net Provides the classes for implementing networking applications.java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.java.rmi.server Provides classes and interfaces for supporting the server side of RMI.javax.net Provides classes for networking applications.javax.net.ssl Provides classes for the secure socket package.javax.rmi.ssl Provides implementations ofRMIClientSocketFactoryandRMIServerSocketFactoryover the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.jdk.net Platform specific socket options for thejava.netandjava.nio.channelssocket classes. -
-
Uses of ServerSocket in java.net
Methods in java.net that return ServerSocket Modifier and Type Method Description <T> ServerSocketServerSocket. setOption(SocketOption<T> name, T value)Sets the value of a socket option. -
Uses of ServerSocket in java.nio.channels
Methods in java.nio.channels that return ServerSocket Modifier and Type Method Description abstract ServerSocketServerSocketChannel. socket()Retrieves a server socket associated with this channel. -
Uses of ServerSocket in java.rmi.server
Methods in java.rmi.server that return ServerSocket Modifier and Type Method Description ServerSocketRMIServerSocketFactory. createServerSocket(int port)Create a server socket on the specified port (port 0 indicates an anonymous port).abstract ServerSocketRMISocketFactory. createServerSocket(int port)Create a server socket on the specified port (port 0 indicates an anonymous port). -
Uses of ServerSocket in javax.net
Methods in javax.net that return ServerSocket Modifier and Type Method Description ServerSocketServerSocketFactory. createServerSocket()Returns an unbound server socket.abstract ServerSocketServerSocketFactory. createServerSocket(int port)Returns a server socket bound to the specified port.abstract ServerSocketServerSocketFactory. createServerSocket(int port, int backlog)Returns a server socket bound to the specified port, and uses the specified connection backlog.abstract ServerSocketServerSocketFactory. createServerSocket(int port, int backlog, InetAddress ifAddress)Returns a server socket bound to the specified port, with a specified listen backlog and local IP. -
Uses of ServerSocket in javax.net.ssl
Subclasses of ServerSocket in javax.net.ssl Modifier and Type Class Description classSSLServerSocketThis class extendsServerSocketand provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. -
Uses of ServerSocket in javax.rmi.ssl
Methods in javax.rmi.ssl that return ServerSocket Modifier and Type Method Description ServerSocketSslRMIServerSocketFactory. createServerSocket(int port)Creates a server socket that accepts SSL connections configured according to this factory's SSL socket configuration parameters. -
Uses of ServerSocket in jdk.net
Methods in jdk.net with parameters of type ServerSocket Modifier and Type Method Description static <T> TSockets. getOption(ServerSocket s, SocketOption<T> name)Returns the value of a socket option from aServerSocketstatic <T> voidSockets. setOption(ServerSocket s, SocketOption<T> name, T value)Sets the value of a socket option on aServerSocket
-