java.lang.Object | |
↳ | javax.net.ServerSocketFactory |
Known Direct Subclasses |
This abstract class defines methods to create server sockets. It can be subclassed to create specific server socket types.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
ServerSocketFactory instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new server socket which is bound to the given address on the
specified port and configures its maximum of queued connections.
| |||||||||||
Creates a new server socket which is bound to the given port and
configures its maximum of queued connections.
| |||||||||||
Creates a new server socket which is bound to the given port.
| |||||||||||
Creates a new server socket which is not bound to any local address.
| |||||||||||
Gets the default server socket factory of the system which can be used to
create new server sockets without creating a subclass of this factory.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates a new ServerSocketFactory
instance.
Creates a new server socket which is bound to the given address on the specified port and configures its maximum of queued connections.
port | the port on which the created socket has to listen. |
---|---|
backlog | the maximum of queued connections. |
iAddress | the address of the network interface which is used by the created socket. |
IOException | if an error occurs while creating a new server socket. |
---|
Creates a new server socket which is bound to the given port and configures its maximum of queued connections.
port | the port on which the created socket has to listen. |
---|---|
backlog | the maximum of queued connections. |
IOException | if an error occurs while creating a new server socket. |
---|
Creates a new server socket which is bound to the given port.
port | the port on which the created socket has to listen. |
---|
IOException | if an error occurs while creating a new server socket. |
---|
Creates a new server socket which is not bound to any local address. This
method has to be overridden by a subclass otherwise a SocketException
is thrown.
IOException | if an error occurs while creating a new server socket. |
---|
Gets the default server socket factory of the system which can be used to create new server sockets without creating a subclass of this factory.