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
- 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.
Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.