|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.net.rtmp.event.BaseEvent
org.red5.server.net.rtmp.event.Ping
public class Ping
Ping event, actually combination of different events. This is also known as a user control message.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.red5.server.api.event.IEvent |
---|
IEvent.Type |
Field Summary | |
---|---|
static short |
BUFFER_EMPTY
Buffer empty. |
static short |
BUFFER_FULL
Buffer full. |
static short |
CLIENT_BUFFER
Client buffer. |
protected short |
eventType
The sub-type |
static short |
PING_CLIENT
Client ping event. |
static short |
PING_SWF_VERIFY
SWF verification ping 0x001a |
static short |
PONG_SERVER
Server response event. |
static short |
PONG_SWF_VERIFY
SWF verification pong 0x001b |
static short |
RECORDED_STREAM
Recorded stream. |
static short |
STREAM_BEGIN
Stream begin / clear event |
static short |
STREAM_DRY
Stream is empty |
static short |
STREAM_PLAYBUFFER_CLEAR
Stream EOF, playback of requested stream is completed. |
static int |
UNDEFINED
Event type is undefined |
static short |
UNKNOWN_5
One more unknown event |
static short |
UNKNOWN_8
One more unknown event |
Fields inherited from class org.red5.server.net.rtmp.event.BaseEvent |
---|
header, object, refcount, source, timestamp |
Constructor Summary | |
---|---|
Ping()
Constructs a new Ping. |
|
Ping(Ping in)
|
|
Ping(short eventType)
|
|
Ping(short eventType,
int value2)
|
|
Ping(short eventType,
int value2,
int value3)
|
|
Ping(short eventType,
int value2,
int value3,
int value4)
|
Method Summary | |
---|---|
protected void |
doRelease()
|
byte |
getDataType()
Getter for data type |
String |
getDebug()
Getter for property 'debug'. |
short |
getEventType()
Returns the events sub-type |
int |
getValue2()
Getter for property 'value2'. |
int |
getValue3()
Getter for property 'value3'. |
int |
getValue4()
Getter for property 'value4'. |
void |
readExternal(ObjectInput in)
|
protected void |
releaseInternal()
Release event |
void |
setDebug(String debug)
Setter for property 'debug'. |
void |
setEventType(short eventType)
Sets the events sub-type |
void |
setValue2(int value2)
Setter for property 'value2'. |
void |
setValue3(int value3)
Setter for property 'value3'. |
void |
setValue4(int value4)
Setter for property 'value4'. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class org.red5.server.net.rtmp.event.BaseEvent |
---|
getHeader, getObject, getSource, getSourceType, getTimestamp, getType, hasSource, release, retain, setHeader, setSource, setSourceType, setTimestamp, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short STREAM_BEGIN
public static final short STREAM_PLAYBUFFER_CLEAR
public static final short STREAM_DRY
public static final short CLIENT_BUFFER
public static final short RECORDED_STREAM
public static final short UNKNOWN_5
public static final short PING_CLIENT
public static final short PONG_SERVER
public static final short UNKNOWN_8
public static final short PING_SWF_VERIFY
public static final short PONG_SWF_VERIFY
public static final short BUFFER_EMPTY
public static final short BUFFER_FULL
public static final int UNDEFINED
protected short eventType
Constructor Detail |
---|
public Ping()
public Ping(short eventType)
public Ping(short eventType, int value2)
public Ping(short eventType, int value2, int value3)
public Ping(short eventType, int value2, int value3, int value4)
public Ping(Ping in)
Method Detail |
---|
public byte getDataType()
getDataType
in interface IRTMPEvent
getDataType
in class BaseEvent
public short getEventType()
public void setEventType(short eventType)
eventType
- public int getValue2()
public void setValue2(int value2)
value2
- Value to set for property 'value2'.public int getValue3()
public void setValue3(int value3)
value3
- Value to set for property 'value3'.public int getValue4()
public void setValue4(int value4)
value4
- Value to set for property 'value4'.public String getDebug()
public void setDebug(String debug)
debug
- Value to set for property 'debug'.protected void doRelease()
public String toString()
toString
in class Object
protected void releaseInternal()
releaseInternal
in class BaseEvent
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BaseEvent
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BaseEvent
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |