Service: This is a bare-bones example service instance
that implements the interface with the cluster-manager.
Client: This is a bare-bones client that creates a single
path by communicating with the cluster-manager.
createPaths: This can create a bunch of paths one after
another. And it can also read the paths.cfg -- same as that
explained in the serv-comp
sub-package.
generic_service, generic_client_info: These classes
implement the base classes for other services to use. The
generic_client_info class is the base class for the information
that a service stores for each client.
generic_client_info implements several data streams:
A control stream -- this is what is used to send
information about where an upstream node is listening, to
the downstream node. Also, heart-beats, and path-kill
commands are sent using this stream.
A control-ack stream -- this is for the acks for the
control packets.
A data stream -- for the actual application data.
A data-ack stream -- any acks to the application data
transmission.
A soft-state stream -- for communication of the
application-level state from upstream to downstream. The
client records this and uses it to start the new path,
when an alternate path is setup.
Bhaskaran Raman, bhaskar@cs.berkeley.edu
Last modified: Tue Jan 22 16:18:03 PST 2002