tango.net.cluster.tina.RollCall

License:

BSD style: see license.txt

Version:

July 2004: Initial release

Author:

Kris
class RollCall : NetworkMessage #
An IMessage used by the cluster client and server during discovery lookup and liveness broadcasts. The client broadcasts one of these at startup to see which servers are alive. The server responds with a reply RollCall stating its name and port. The server will also broadcast one of these when it first starts, such that any running clients can tell the server has 'recovered'.
Requests and responses are distinguished by the content of the msg: a type value of Request indicates a request from a client and other values are considered to be responses from servers.
this() #
A request from a client
this(int type) #
Response from a server
void read(IReader input) #
Freeze the content
void write(IWriter output) #
Defrost the content