public class BaseRMIServerSocketFactory
extends Object
implements RMIServerSocketFactory
| Constructor and Description |
|---|
BaseRMIServerSocketFactory(Optional<InetAddress> address)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port) |
boolean |
equals(Object other) |
Optional<InetAddress> |
getAddress()
Gets the address.
|
int |
hashCode() |
public BaseRMIServerSocketFactory(@Nonnull
Optional<InetAddress> address)
address - The address (may be empty).public ServerSocket createServerSocket(int port)
throws IOException
createServerSocket in interface RMIServerSocketFactoryIOExceptionpublic boolean equals(Object other)
equals in class Object@Nonnegative @CheckReturnValue public final Optional<InetAddress> getAddress()
public int hashCode()
hashCode in class ObjectCopyright © 2003-2019 Serge Brisson. All Rights Reserved.