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)

Constructor Index

 o CClient_Session()
Constructor for CClient_Session

Method Index

 o Close_Session()
Closes a session
 o Notify_Update(String)
Tells the client that the server has received an update
 o Ping()
Pings the server (Time to execute will be twice the delay)
 o Transmit()
Tells server to transmit data to the client

Constructors

 o CClient_Session
 public CClient_Session()
Constructor for CClient_Session

Methods

 o Transmit
 public void Transmit()
Tells server to transmit data to the client

 o 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
 o Close_Session
 public void Close_Session()
Closes a session

 o 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