Class ServerCommunication
java.lang.Object
|
+----ServerCommunication
- public class ServerCommunication
- extends Object
The ServerCommunication class handles interaction with the server
socket.
-
Port
- The port on which to listen
-
Server
- The Java Socket on which we are communicating
-
ServerCommunication(int)
-
-
GetClientConnection()
- Waits for a client connection, then returns a new Communication object
-
Shutdown()
- Causes the server to shutdown.
Port
private int Port
- The port on which to listen
Server
private ServerSocket Server
- The Java Socket on which we are communicating
ServerCommunication
public ServerCommunication(int Port)
GetClientConnection
public Communication GetClientConnection()
- Waits for a client connection, then returns a new Communication object
- See Also:
- Communication
Shutdown
public void Shutdown()
- Causes the server to shutdown. (NYI)