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
 
Constructor Summary
ApplicationEvent(SessionManager from, Participant participant, ReceiveStream recvStream, int appSubtype, java.lang.String appString, byte[] appData)
           
 
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 javax.media.rtp.event.ReceiveStreamEvent
getParticipant, getReceiveStream
 
Methods inherited from class javax.media.rtp.event.RTPEvent
getSessionManager, getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationEvent

public ApplicationEvent(SessionManager from,
                        Participant participant,
                        ReceiveStream recvStream,
                        int appSubtype,
                        java.lang.String appString,
                        byte[] appData)
Method Detail

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 1999-2000 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.