|
||||||||||
| 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.Notify
public class Notify
Stream notification event
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.red5.server.api.event.IEvent |
|---|
IEvent.Type |
| Field Summary | |
|---|---|
protected IServiceCall |
call
Service call |
protected IoBuffer |
data
Event data |
| Fields inherited from class org.red5.server.net.rtmp.event.BaseEvent |
|---|
extendedTimestamp, header, object, refcount, source, timestamp |
| Constructor Summary | |
|---|---|
Notify()
Constructs a new Notify. |
|
Notify(IoBuffer data)
Create new notification event with given byte buffer |
|
Notify(IServiceCall call)
Create new notification event with given service call |
|
| Method Summary | |
|---|---|
protected void |
doRelease()
Release event (nullify call object) |
Notify |
duplicate()
Duplicate this Notify message to future injection Serialize to memory and deserialize, safe way. |
boolean |
equals(Object obj)
|
IServiceCall |
getCall()
Getter for service call |
Map<String,Object> |
getConnectionParams()
Getter for connection parameters |
IoBuffer |
getData()
Getter for property 'data'. |
byte |
getDataType()
Getter for data type |
int |
getInvokeId()
Getter for invoke id |
void |
readExternal(ObjectInput in)
|
protected void |
releaseInternal()
Release event |
void |
setCall(IServiceCall call)
Setter for call |
void |
setConnectionParams(Map<String,Object> connectionParams)
Setter for connection parameters |
void |
setData(IoBuffer data)
Setter for data |
void |
setInvokeId(int invokeId)
Setter for invoke id |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class org.red5.server.net.rtmp.event.BaseEvent |
|---|
getExtendedTimestamp, getHeader, getObject, getSource, getTimestamp, getType, hasSource, release, retain, setExtendedTimestamp, setHeader, setSource, setTimestamp, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.red5.server.api.stream.IStreamPacket |
|---|
getTimestamp |
| Field Detail |
|---|
protected IServiceCall call
protected IoBuffer data
| Constructor Detail |
|---|
public Notify()
public Notify(IoBuffer data)
data - Byte bufferpublic Notify(IServiceCall call)
call - Service call| Method Detail |
|---|
public byte getDataType()
getDataType in interface IStreamPacketgetDataType in interface IRTMPEventgetDataType in class BaseEventpublic void setData(IoBuffer data)
data - Datapublic void setCall(IServiceCall call)
call - Service callpublic IServiceCall getCall()
public IoBuffer getData()
getData in interface IStreamPacketgetData in interface IStreamDatapublic int getInvokeId()
public void setInvokeId(int invokeId)
invokeId - Invoke idprotected void doRelease()
public Map<String,Object> getConnectionParams()
public void setConnectionParams(Map<String,Object> connectionParams)
connectionParams - Connection parameterspublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectprotected void releaseInternal()
releaseInternal in class BaseEvent
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class BaseEventIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class BaseEventIOException
public Notify duplicate()
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||