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, toString
public VirtualServerSocket(String name) throws IOException
name
- name for MultiplexerClient to use to create a connection.IOException
public String getName()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class ServerSocket
IOException
Copyright © 1999–2019 ViaOA. All rights reserved.