|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rtpi.RtpiData
This is the base class for RTPI ADUs. In order to put data into an ADU please use the getOutputStream method. After the data has been written from the returned output stream call the outputComplete method. In order to read data from an ADU please use the getInputStream method. The data can then be read from the input stream.
Method Summary | |
java.io.ByteArrayInputStream |
getInputStream()
This returns an input stream to this RtpiData object. |
java.io.OutputStream |
getOutputStream()
This returns an output stream to this RtpiData object. |
int |
getParticipantID()
This returns the participant ID of this ADU's sender. |
int |
getPayloadType()
This returns the payload type of the ADU. |
int |
getPriority()
This returns the priority of the ADU. |
byte |
getProfileInformation()
This returns the profile specific information contained ADU. |
int |
getSequenceNumber()
This gets the sequence number of the ADU. |
long |
getSubcomponentID()
This returns the ID of the affected subcomponent. |
long |
getTimestamp()
This returns the timestamp of the ADU. |
void |
outputComplete()
This MUST be called when the output to the RtpiData object is finished. |
void |
setProfileInformation(byte pi)
This sets the profile specific information for the ADU. |
void |
setRedundancy(float r)
This sets the amount of redundancy for the transmission of the ADU. |
void |
setRedundancyTransmissionInterval(int t)
This sets the interval during which redundancy information may be transmitted for this ADU. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public void setRedundancy(float r)
r
- The amount of redundancy.public void setRedundancyTransmissionInterval(int t)
public int getPayloadType()
public int getPriority()
public byte getProfileInformation()
public void setProfileInformation(byte pi)
pi
- The profile specific information.public int getParticipantID()
public long getSubcomponentID()
public int getSequenceNumber()
public long getTimestamp()
public java.io.OutputStream getOutputStream() throws java.io.IOException
public void outputComplete()
public java.io.ByteArrayInputStream getInputStream()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |