Class ServerCommunication

java.lang.Object
   |
   +----ServerCommunication

public class ServerCommunication
extends Object
The ServerCommunication class handles interaction with the server socket.


Variable Index

 o Port
The port on which to listen
 o Server
The Java Socket on which we are communicating

Constructor Index

 o ServerCommunication(int)

Method Index

 o GetClientConnection()
Waits for a client connection, then returns a new Communication object
 o Shutdown()
Causes the server to shutdown.

Variables

 o Port
 private int Port
The port on which to listen

 o Server
 private ServerSocket Server
The Java Socket on which we are communicating

Constructors

 o ServerCommunication
 public ServerCommunication(int Port)

Methods

 o GetClientConnection
 public Communication GetClientConnection()
Waits for a client connection, then returns a new Communication object

See Also:
Communication
 o Shutdown
 public void Shutdown()
Causes the server to shutdown. (NYI)