|
||||||||||
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 |
---|
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 |
---|
getHeader, getObject, getSource, getSourceType, getTimestamp, getType, hasSource, release, retain, setHeader, setSource, setSourceType, 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 callMethod Detail |
---|
public byte getDataType()
getDataType
in interface IStreamPacket
getDataType
in interface IRTMPEvent
getDataType
in class BaseEvent
public void setData(IoBuffer data)
data
- Datapublic void setCall(IServiceCall call)
call
- Service callpublic IServiceCall getCall()
public IoBuffer getData()
getData
in interface IStreamPacket
getData
in interface IStreamData<Notify>
public 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 Object
public boolean equals(Object obj)
equals
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
public Notify duplicate() throws IOException, ClassNotFoundException
duplicate
in interface IStreamData<Notify>
IOException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |