jgroup.relacs.rmi
Class IIDFactory

java.lang.Object
jgroup.relacs.rmi.IIDFactory

public class IIDFactory

extends java.lang.Object

This class is a factory for invocation identifiers. It uses a
sequence number to generate unique identifiers, and keeps track of
invocation identifiers for which a response has been received. This
information is used to generate acknowledgement information sent to
servers in order that they can remove replies from their tables.

Since:

Jgroup 0.8

Author:

Alberto Montresor

Constructor Summary

IIDFactory()
Initializes a new IIDFactory object by setting the
sequence number to 0 and creating an empty replies list.

Method Summary

void

addReply(IID id)
Adds the given invocation identifier to the set of identifiers for
which a reply has been received.