class RemoteReceiverServerListener extends ServerSocketListener<RemoteReceiverClient>
ServerListener that accepts connections from remote receiver
component clients.| Constructor and Description |
|---|
RemoteReceiverServerListener(java.net.ServerSocket serverSocket)
Constructs a new listener.
|
| Modifier and Type | Method and Description |
|---|---|
protected RemoteReceiverClient |
createClient(java.lang.String id,
java.net.Socket socket)
Creates the client object for a new socket connection
|
acceptClient, close, toStringpublic RemoteReceiverServerListener(java.net.ServerSocket serverSocket)
serverSocket - server socket from which new client connections
will be acceptedprotected RemoteReceiverClient createClient(java.lang.String id, java.net.Socket socket) throws java.io.IOException
createClient in class ServerSocketListener<RemoteReceiverClient>id - identifier string for the clientsocket - client's socket connectionjava.io.IOException