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

Variable Index

 o server_url
The URL of the server

Method Index

 o Close_Session()
Closes the session
 o Notify_Update(String)
Allow the server to notify the client of an update
 o Ping()
Pings the server (Time to execute will be twice the delay) Used to measure the time to transverse the network.
 o Transmit()
Tells server to transmit data to the client

Variables

 o server_url
 public static final String server_url
The URL of the server

Methods

 o Close_Session
 public abstract void Close_Session()
Closes the session

 o 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
 o Transmit
 public abstract void Transmit()
Tells server to transmit data to the client

 o 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)