All Packages Class Hierarchy This Package Previous Next Index
Interface edu.cmu.paid.network.INetworkAPI
- public interface INetworkAPI
This is the external API interface for the network subsystem.
- Author:
- Barrett Trask
-
KillDownload(int)
- Method for stopping an in-progress download.
-
RemoteQuery(Data, RequestID, String[])
- Method for requesting remote data from the database servers.
RemoteQuery
public abstract int RemoteQuery(Data data,
RequestID reqID,
String serverList[])
- Method for requesting remote data from the database servers.
- Parameters:
- data - Empty space to store the data when the download is complete.
- reqID - A construct to allow the database to know what data is being
requested.
- serverList - An array (or list) of URL's of the servers that contain
the needed data.
- Returns:
- A downloadID identifier to be used to make changes to or check
the status of this download.
KillDownload
public abstract void KillDownload(int downloadID)
- Method for stopping an in-progress download.
- Parameters:
- downloadID - Unique identifier for the download in-progress.
All Packages Class Hierarchy This Package Previous Next Index