All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cmu.paid.network.CServer_Session

java.lang.Object
   |
   +----edu.cmu.paid.network.CServer_Session

public class CServer_Session
extends Object
implements IServer_Session
Implements IServer_Session.
Will be instantiated on the server machine, and proxied on the client machine


Constructor Index

 o CServer_Session()
Create new session.

Method Index

 o Close_Session()
Close current session.
 o Kill_Request()
Kill current request.
 o Ping()
Returns immediately.
 o Request_Data(String)

Constructors

 o CServer_Session
 public CServer_Session()
Create new session.

Methods

 o Close_Session
 public void Close_Session()
Close current session.

 o Ping
 public int Ping()
Returns immediately. Client watches how fast method returns for actual ping time.

Returns:
1 always.
 o Request_Data
 public boolean Request_Data(String request)
Parameters:
request - A string refrencing a piece of data desired by Database subsystem.
Returns:
True if request was passed to server successfully, false otherwise.
 o Kill_Request
 public void Kill_Request()
Kill current request.


All Packages  Class Hierarchy  This Package  Previous  Next  Index