|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgroup.relacs.rmi.IIDFactory
public class IIDFactory
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.
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. |
IID |
getId()
Creates a new invocation identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IIDFactory()
IIDFactory
object by setting the
sequence number to 0 and creating an empty replies list. Ack
information is also set to 0.
Method Detail |
---|
public IID getId()
IIDImpl
object with the
new sequence number; acknowledgement information is piggybacked in
the identifier.
public void addReply(IID id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |