|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.reliable.events.RdAckResponseServiceInvoiceEvent
public class RdAckResponseServiceInvoiceEvent
This event is issued by the reliable delivery service, in response to the ACKs that it has received so far from the entity. The ACKResponse contains among other things, information regarding (a) sync-point advance for the entity. (b) missed sequences. The acknowledgements might be lost in transit - the reliable delivery service considers these events to have been lost in transit.
| Constructor Summary | |
|---|---|
RdAckResponseServiceInvoiceEvent(byte[] marshalledBytes)
|
|
RdAckResponseServiceInvoiceEvent(int templateId,
int entityId,
long sync)
|
|
| Method Summary | |
|---|---|
boolean |
containsMissedSequenceInfo()
Indicates if this event encapsulates Nak information |
boolean |
containsSingleSequenceInfo()
Iff this event encapsulates Nak information, this method indicates if the entity has missed a single sequence or multiple sequences |
byte[] |
getBytes()
Gets the serialized representation of the event |
int |
getEntityId()
|
long |
getMissedSequence()
Returns the missed sequence. |
long[] |
getMissedSequences()
Returns the missed sequences. |
long |
getSyncpoint()
Retrieves the sync point associated with the entity in question. |
int |
getTemplateId()
|
void |
setMissedSequence(long missedSequence)
Sets the missing sequence information |
void |
setMissedSequences(long[] missedSequences)
Sets information pertaining to multiple missed sequences |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RdAckResponseServiceInvoiceEvent(int templateId,
int entityId,
long sync)
public RdAckResponseServiceInvoiceEvent(byte[] marshalledBytes)
| Method Detail |
|---|
public int getTemplateId()
public int getEntityId()
public long getSyncpoint()
public boolean containsMissedSequenceInfo()
public boolean containsSingleSequenceInfo()
public long getMissedSequence()
public void setMissedSequence(long missedSequence)
public long[] getMissedSequences()
public void setMissedSequences(long[] missedSequences)
public byte[] getBytes()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||