javax.media.rtp.event
Class ApplicationEvent
java.lang.Object
|
+--java.util.EventObject
|
+--javax.media.MediaEvent
|
+--javax.media.rtp.event.RTPEvent
|
+--javax.media.rtp.event.ReceiveStreamEvent
|
+--javax.media.rtp.event.ApplicationEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ApplicationEvent
- extends ReceiveStreamEvent
Event which informs the RTP listener that an RTCP 'APP' packet has
been received.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
byte[] |
getAppData()
The application-specific data. |
java.lang.String |
getAppString()
The 4-character string found in the APP packet. |
int |
getAppSubType()
appSubtype The "subtype" value found in the APP packet
header. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApplicationEvent
public ApplicationEvent(SessionManager from,
Participant participant,
ReceiveStream recvStream,
int appSubtype,
java.lang.String appString,
byte[] appData)
getAppSubType
public int getAppSubType()
- appSubtype The "subtype" value found in the APP packet
header.
getAppString
public java.lang.String getAppString()
- The 4-character string found in the APP packet.
May be empty but not null.
getAppData
public byte[] getAppData()
- The application-specific data. May be a
zero-length array but not null.