|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.EventIdFactory
public class EventIdFactory
The EventId Factory is reponsible for the generation of EventId's that are unique both in space and time.
| Constructor Summary | |
|---|---|
EventIdFactory(int _clientID)
This is used the first time a client starts issuing events |
|
EventIdFactory(int _clientID,
short _incarnationNumber)
This is used by a client, after it has been in the disconnected mode for sometime and when it joins in it has a different incarnation number. |
|
| Method Summary | |
|---|---|
EventId |
getNextID()
This gets the next EventId that is a logical successor to the eventID that was previously created by the factory |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventIdFactory(int _clientID)
_clientID - The client ID .
public EventIdFactory(int _clientID,
short _incarnationNumber)
_clientID - The ID assigned to the client._incarnationNumber - The incarnation number for the client in
question.| Method Detail |
|---|
public EventId getNextID()
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||