|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is to be implemented by a class that whishes to be notified about ADUs received by a reliability service.
Method Summary | |
void |
connectionClosed()
This method is called when the reliability service used for RTP/I has encountered a fatal error. |
void |
receiveRtpiAdu(java.util.LinkedList packets)
An ADU has been completely received. |
void |
rtpiAduLost(int participantID,
long subID,
int type,
int sequenceNumber,
int timestamp)
This method is invoked when the reliability service has detected a lost packet and was not instructed to repair the loss of this packet. |
void |
rtpiCouldNotRecover(int participantID,
long subID,
int type,
int sequenceNumber,
int timestamp)
This method is invoked when the reliability service has detected a lost packet and was instructed to repair the loss but was unable to do so. |
Method Detail |
public void receiveRtpiAdu(java.util.LinkedList packets)
packets
- The packets belonging to the ADU. They MUST be of the
type RtpiDataPacket.public void rtpiAduLost(int participantID, long subID, int type, int sequenceNumber, int timestamp)
participantID
- The ID of the sender of the lost ADU.subID
- The ID of the affected subcomponent.type
- The type (STATE, EVENT, etc.) of the lost ADU.sequenceNumber
- The sequence number of the lost ADU.timestamp
- A timestamp that is greater or equal to the timestamp
of the lost ADU.public void rtpiCouldNotRecover(int participantID, long subID, int type, int sequenceNumber, int timestamp)
participantID
- The ID of the sender of the lost ADU.subID
- The ID of the affected subcomponent.type
- The type (STATE, EVENT, etc.) of the lost ADU.sequenceNumber
- The sequence number of the lost ADU.timestamp
- A timestamp that is greater or equal to the timestamp
of the lost ADU.public void connectionClosed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |