|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.reliable.events.RdCompanionEntityEvent
public class RdCompanionEntityEvent
This is the event issued by the publishing entity, which allows the reliable delivery service to detect if events were lost in transit.
| Constructor Summary | |
|---|---|
RdCompanionEntityEvent(byte[] marshalledBytes)
|
|
RdCompanionEntityEvent(int entityId,
int templateId,
int catenationNumber,
int previousCatenationNumber,
EventID eventId)
|
|
| Method Summary | |
|---|---|
int |
compare(Object one,
Object two)
For this implementation it is assumed that the entity id and template id of the compared objects are the same. |
boolean |
equals(Object obj)
For this implementation it is assumed that the entity id and template id of the compared object is the same |
byte[] |
getBytes()
|
int |
getCatenationNumber()
|
int |
getEntityId()
|
EventID |
getEventId()
Returns the id of the event for which this serves as a companion event |
int |
getPreviousCatenationNumber()
Returns the previous catenation number for a given template id. |
int |
getTemplateId()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RdCompanionEntityEvent(int entityId,
int templateId,
int catenationNumber,
int previousCatenationNumber,
EventID eventId)
public RdCompanionEntityEvent(byte[] marshalledBytes)
| Method Detail |
|---|
public int getEntityId()
public int getTemplateId()
public int getCatenationNumber()
public int getPreviousCatenationNumber()
public EventID getEventId()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in interface Comparatorequals in class Object
public int compare(Object one,
Object two)
compare in interface Comparatorpublic byte[] getBytes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||