|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.net.rtmp.codec.RTMPProtocolDecoder
public class RTMPProtocolDecoder
RTMP protocol decoder.
| Field Summary | |
|---|---|
protected static Logger |
ioLog
I/O logger. |
protected static Logger |
log
Logger. |
| Constructor Summary | |
|---|---|
RTMPProtocolDecoder()
Constructs a new RTMPProtocolDecoder. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
protected static Logger ioLog
| Constructor Detail |
|---|
public RTMPProtocolDecoder()
| Method Detail |
|---|
public void setDeserializer(Deserializer deserializer)
deserializer - Deserializer
public List<Object> decodeBuffer(ProtocolState state,
org.apache.mina.core.buffer.IoBuffer buffer)
decodeBuffer in interface SimpleProtocolDecoderstate - Stores state for the protocolbuffer - IoBuffer of data to be decoded
public Object decode(ProtocolState state,
org.apache.mina.core.buffer.IoBuffer in)
throws ProtocolException
decode in interface SimpleProtocolDecoderstate - Protocol statein - Input byte buffer
ProtocolException - Exception during decoding
public org.apache.mina.core.buffer.IoBuffer decodeHandshake(RTMP rtmp,
org.apache.mina.core.buffer.IoBuffer in)
rtmp - RTMP protocol statein - IoBuffer
public Packet decodePacket(RTMP rtmp,
org.apache.mina.core.buffer.IoBuffer in)
rtmp - RTMP protocol statein - IoBuffer
public Header decodeHeader(org.apache.mina.core.buffer.IoBuffer in,
Header lastHeader)
in - Input IoBufferlastHeader - Previous header
public IRTMPEvent decodeMessage(RTMP rtmp,
Header header,
org.apache.mina.core.buffer.IoBuffer in)
rtmp - RTMP protocol stateheader - RTMP headerin - Input IoBuffer
public Unknown decodeUnknown(byte dataType,
org.apache.mina.core.buffer.IoBuffer in)
decodeUnknown in interface IEventDecoderdataType - Data typein - Byte buffer to decode
public ChunkSize decodeChunkSize(org.apache.mina.core.buffer.IoBuffer in)
decodeChunkSize in interface IEventDecoderin - Byte buffer to decode
public ISharedObjectMessage decodeFlexSharedObject(org.apache.mina.core.buffer.IoBuffer in,
RTMP rtmp)
decodeFlexSharedObject in interface IEventDecoderin - Byte buffer to decodertmp - RTMP protocol state
public ISharedObjectMessage decodeSharedObject(org.apache.mina.core.buffer.IoBuffer in,
RTMP rtmp)
decodeSharedObject in interface IEventDecoderin - Byte buffer to decodertmp - RTMP protocol state
protected void doDecodeSharedObject(SharedObjectMessage so,
org.apache.mina.core.buffer.IoBuffer in,
Input input)
so - in - input -
public Notify decodeNotify(org.apache.mina.core.buffer.IoBuffer in,
RTMP rtmp)
decodeNotify in interface IEventDecoderin - Byte buffer to decodertmp - RTMP protocol state
public Notify decodeNotify(org.apache.mina.core.buffer.IoBuffer in,
Header header,
RTMP rtmp)
public Invoke decodeInvoke(org.apache.mina.core.buffer.IoBuffer in,
RTMP rtmp)
decodeInvoke in interface IEventDecoderin - Byte buffer to decodertmp - RTMP protocol state
protected Notify decodeNotifyOrInvoke(Notify notify,
org.apache.mina.core.buffer.IoBuffer in,
Header header,
RTMP rtmp)
notify - Notify eventin - Byte bufferheader - Headerrtmp - RTMP protocol state
public Ping decodePing(org.apache.mina.core.buffer.IoBuffer in)
decodePing in interface IEventDecoderin - IoBuffer
public BytesRead decodeBytesRead(org.apache.mina.core.buffer.IoBuffer in)
decodeBytesRead in interface IEventDecoderin - Byte buffer to decode
public AudioData decodeAudioData(org.apache.mina.core.buffer.IoBuffer in)
decodeAudioData in interface IEventDecoderin - Byte buffer to decode
public VideoData decodeVideoData(org.apache.mina.core.buffer.IoBuffer in)
decodeVideoData in interface IEventDecoderin - Byte buffer to decode
public Notify decodeStreamMetadata(org.apache.mina.core.buffer.IoBuffer in)
public FlexMessage decodeFlexMessage(org.apache.mina.core.buffer.IoBuffer in,
RTMP rtmp)
decodeFlexMessage in interface IEventDecoderin - IoBufferrtmp - RTMP protocol state
public FlexStreamSend decodeFlexStreamSend(org.apache.mina.core.buffer.IoBuffer in)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||