public class SocketDataServer extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
alive
Whether the server is still active.
|
protected Vector |
outs
List of output streams for client sockets.
|
protected int |
port
The socket's port.
|
protected DataReferenceImpl |
ref
DataReference whose data is linked to the socket stream.
|
protected ServerSocket |
socket
The main socket for this SocketDataServer.
|
protected Vector |
sockets
List of client sockets listening to this SocketDataServer.
|
Constructor and Description |
---|
SocketDataServer(int port,
DataReferenceImpl ref)
Construct a SocketDataServer with the given port and data reference.
|
Modifier and Type | Method and Description |
---|---|
void |
killServer()
destroys this server and kills all associated threads
|
protected ServerSocket socket
protected Vector sockets
protected Vector outs
protected int port
protected DataReferenceImpl ref
protected boolean alive
public SocketDataServer(int port, DataReferenceImpl ref) throws VisADException, IOException
VisADException
IOException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.