All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cmu.paid.network.CServer

java.lang.Object
   |
   +----edu.cmu.paid.network.CServer

public class CServer
extends Object
implements IServer
Exported object residing on server machine. Creates new Session threads to satisfy requests made from clients.

Author:
Will Ross

Constructor Index

 o CServer()
Basic initialization.

Method Index

 o request(DataObject, String)
Starts a new Session thread.

Constructors

 o CServer
 public CServer()
Basic initialization.

Methods

 o request
 public synchronized String request(DataObject req,
                                    String clientname) throws PaidNetworkRuntimeException
Starts a new Session thread.

Parameters:
req - DataObject containing request.
clientname - Name (url/name combo) of Client object requesting data.
Returns:
Name (url/name combo) of Session thread spawned to satisfy request.

All Packages  Class Hierarchy  This Package  Previous  Next  Index