public class VirtualServerSocket extends ServerSocket
| Constructor and Description |
|---|
VirtualServerSocket(String name)
Create a new ServerSocket.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getName()
Registered name for the socket, that is used by MultiplexerClient when creating a MultiplexerSocket connection.
|
accept, bind, bind, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toStringpublic VirtualServerSocket(String name) throws IOException
name - name for MultiplexerClient to use to create a connection.IOExceptionpublic String getName()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ServerSocketIOExceptionCopyright © 1999–2025 ViaOA. All rights reserved.