|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by a class the wants to be contacted by Rtpi when thing happen (e.g. ADUs are received, RTCP/I information arrives, etc).
Method Summary | |
void |
activateSubcomponent(Rtpi rtpi,
long subcomponentID)
This method is called when a subcomponent has become active. |
void |
addSubcomponent(Rtpi rtpi,
long subcomponentID,
boolean active,
byte[] name)
This method is called when a new subcomponent has been discovered by RTCP/I. |
void |
changeSourceInfo(Rtpi rtpi,
RtpiSourceInfo participant)
This method is called when the information for a participant has changed. |
void |
connectionClosed(Rtpi rtpi)
This method is called if either the reliability service used for RTP/I or the transport service used for RTCP/I has encountered a fatal error. |
void |
deactivateSubcomponent(Rtpi rtpi,
long subcomponentID)
This method is called when a subcomponent has become passive. |
void |
receiveDeltaState(Rtpi rtpi,
RtpiDeltaState deltaState)
This method is called to deliver a delta state that has been received. |
void |
receiveEvent(Rtpi rtpi,
RtpiEvent event)
This method is called to deliver an event that has been received. |
void |
receiveState(Rtpi rtpi,
RtpiState state)
This method is called to deliver a state that has been received. |
void |
receiveStateQuery(Rtpi rtpi,
RtpiStateQuery stateQuery)
This method is called to deliver a state query that has been received. |
void |
removeSource(Rtpi rtpi,
RtpiSourceInfo participant)
This method is called when a participant has timed out or sent a BYE. |
void |
removeSubcomponent(Rtpi rtpi,
long subcomponentID)
This method is called when a subcomponent has timed out. |
void |
rtpiAduLost(Rtpi rtpi,
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(Rtpi rtpi,
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 rtpiAduLost(Rtpi rtpi, int participantID, long subID, int type, int sequenceNumber, int timestamp)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.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(Rtpi rtpi, int participantID, long subID, int type, int sequenceNumber, int timestamp)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.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(Rtpi rtpi)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.public void receiveEvent(Rtpi rtpi, RtpiEvent event)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.event
- The event.public void receiveState(Rtpi rtpi, RtpiState state)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.state
- The state.public void receiveDeltaState(Rtpi rtpi, RtpiDeltaState deltaState)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.dletaState
- The delta event.public void receiveStateQuery(Rtpi rtpi, RtpiStateQuery stateQuery)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.stateQuery
- The state query.public void changeSourceInfo(Rtpi rtpi, RtpiSourceInfo participant)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.participant
- The new participant information.public void removeSource(Rtpi rtpi, RtpiSourceInfo participant)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.participant
- The participant information about the removed participant.public void addSubcomponent(Rtpi rtpi, long subcomponentID, boolean active, byte[] name)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.subcomponentID
- The ID of the subcomponent.active
- True if the subcomponent is active.name
- The name of the subcomponent.public void removeSubcomponent(Rtpi rtpi, long subcomponentID)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.subcomponentID
- The ID of the subcomponent.public void activateSubcomponent(Rtpi rtpi, long subcomponentID)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.subcomponentID
- The ID of the subcomponent.public void deactivateSubcomponent(Rtpi rtpi, long subcomponentID)
rtpi
- The Rtpi instance that generated this message. This is usefull if multiple
Rtpi instances are used by a single application.subcomponentID
- The ID of the subcomponent.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |