|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This describes the interface to a reliability service that is used together with RTP/I.
Field Summary | |
static int |
DETECT
The DETECT quality of service is used when the reliability service should detect lost ADUs but should not try to repair lost ADUs. |
static int |
NONE
The NONE quality of service is used when the reliability service should take no actions to notice or repair lost ADUs of the given subcomponent and type pair. |
static int |
ORDERED
As with RELIABLE the ORDERED quality of service is used to request the reliable reception of ADUs of a given subcomponent and type pair. |
static int |
RELIABLE
The RELIABLE quality of service is used when the reliability service should detect and repair lost ADUs of a give subcomponent and type pair. |
Method Summary | |
int |
getCombinedHeaderSize()
This returns the size of the combined RTP/I and reliability headers. |
int |
getTransportPayloadSize()
This returns the size of the payload that can be transported in a single packet. |
void |
joinGroup()
This joins the group used by the reliability service to communicate with peer instances (e.g. a multicast group). |
void |
leaveGroup()
This leaves the group used by the reliability service to communicate with peer instances (e.g. a multicast group). |
void |
quit()
This terminates the reliability service. |
void |
registerRecipient(ReliableRecipient rec)
This registers the recipient of the ADUs and loss notifications. |
void |
setDefaultInterest(int type,
int qos)
This method is used to set a default QoS for all subcomponent and RTP/I ADU type pairs to which no other QoS has been specified. |
void |
setInterest(long subcomponentID,
int type,
int qos)
This method is used to set the QoS for a given subcomponent and RTP/I ADU type pair. |
void |
transmitRtpiAdu(java.util.LinkedList packets,
float redundancy,
int transmissionInterval)
This method is used to transmit an ADU. |
Field Detail |
public static final int NONE
public static final int DETECT
public static final int RELIABLE
public static final int ORDERED
Method Detail |
public void transmitRtpiAdu(java.util.LinkedList packets, float redundancy, int transmissionInterval) throws QosNotSupportedException, IllegalValueException
packet
- A linked list of the RTP/I packets that belong to a single ADU.redundancy
- The amount of redundancy that should be added to this ADU.transmissionInterval
- The interval during which redundancy information
may be transmitted.public void setInterest(long subcomponentID, int type, int qos) throws QosNotSupportedException
subcomponentID
- The ID of the subcomponent.type
- The RTP/I ADU type.qos
- The desired QoS.public void setDefaultInterest(int type, int qos) throws QosNotSupportedException
subcomponentID
- The ID of the subcomponent.type
- The RTP/I ADU type.qos
- The desired QoS.public void joinGroup()
public void leaveGroup()
public void registerRecipient(ReliableRecipient rec)
rec
- The reipient.public void quit()
public int getTransportPayloadSize()
public int getCombinedHeaderSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |