All Packages Class Hierarchy This Package Previous Next Index
Interface edu.cmu.paid.network.IClient_Session
- public interface IClient_Session
This is the proxy of the Client_Session on the server
- Author:
- Orly
-
server_url
- The URL of the server
-
Close_Session()
- Closes the session
-
Notify_Update(String)
- Allow the server to notify the client of an update
-
Ping()
- Pings the server (Time to execute will be twice the delay)
Used to measure the time to transverse the network.
-
Transmit()
- Tells server to transmit data to the client
server_url
public static final String server_url
- The URL of the server
Close_Session
public abstract void Close_Session()
- Closes the session
Notify_Update
public abstract Object Notify_Update(String update)
- Allow the server to notify the client of an update
- Parameters:
- update - The name of the update
- Returns:
- An update Object
Transmit
public abstract void Transmit()
- Tells server to transmit data to the client
Ping
public abstract int Ping()
- Pings the server (Time to execute will be twice the delay)
Used to measure the time to transverse the network.
- Returns:
- 1 always.
All Packages Class Hierarchy This Package Previous Next Index
This page is hosted by the Chair for Applied Software Engineering of the Technische Universität München.
Imprint (Impressum)