All Packages Class Hierarchy This Package Previous Next Index
Class edu.cmu.paid.network.CClient_Session
java.lang.Object
|
+----edu.cmu.paid.network.CClient_Session
- public class CClient_Session
- extends Object
- implements IClient_Session
The CClient_Session Object
- Author:
- Orly (kinda)
-
CClient_Session()
- Constructor for CClient_Session
-
Close_Session()
- Closes a session
-
Notify_Update(String)
- Tells the client that the server has received an update
-
Ping()
- Pings the server (Time to execute will be twice the delay)
-
Transmit()
- Tells server to transmit data to the client
CClient_Session
public CClient_Session()
- Constructor for CClient_Session
Transmit
public void Transmit()
- Tells server to transmit data to the client
Ping
public int Ping()
- Pings the server (Time to execute will be twice the delay)
- Returns:
- s a 1. Used to measure the time to transverse the network
Close_Session
public void Close_Session()
- Closes a session
Notify_Update
public Object Notify_Update(String update)
- Tells the client that the server has received an update
- Returns:
- the update received to a Object
All Packages Class Hierarchy This Package Previous Next Index