FileDocCategorySizeDatePackage
ApplicationEvent.javaAPI DocJMF 2.1.1e1544Mon May 12 12:20:40 BST 2003javax.media.rtp.event

ApplicationEvent

public class ApplicationEvent extends ReceiveStreamEvent
Event which informs the RTP listener that an RTCP 'APP' packet has been received.

Fields Summary
private int
appSubtype
appSubtype The "subtype" value found in the APP packet header.
private String
appString
The 4-character string found in the APP packet. May be empty but not null.
private byte[]
appData
The application-specific data. May be a zero-length array but not null.
Constructors Summary
public ApplicationEvent(SessionManager from, Participant participant, ReceiveStream recvStream, int appSubtype, String appString, byte[] appData)

	super(from, recvStream, participant);
	this.appSubtype = appSubtype;
	this.appString = appString;
	this.appData = appData;
    
Methods Summary
public byte[]getAppData()
The application-specific data. May be a zero-length array but not null.

	return appData;
    
public java.lang.StringgetAppString()
The 4-character string found in the APP packet. May be empty but not null.

	return appString;
    
public intgetAppSubType()
appSubtype The "subtype" value found in the APP packet header.

	return appSubtype;