org.red5.server.net.rtmp.codec
Class RTMPMinaProtocolDecoder

java.lang.Object
  extended by org.apache.mina.filter.codec.ProtocolDecoderAdapter
      extended by org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder
All Implemented Interfaces:
ProtocolDecoder

public class RTMPMinaProtocolDecoder
extends ProtocolDecoderAdapter

RTMP protocol decoder.


Field Summary
protected static Logger log
           
 
Constructor Summary
RTMPMinaProtocolDecoder()
           
 
Method Summary
 void decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
          
 RTMPProtocolDecoder getDecoder()
          Returns an RTMP decoder
 void setDecoder(RTMPProtocolDecoder decoder)
          Sets the RTMP protocol decoder.
 void setDeserializer(Deserializer deserializer)
          Setter for deserializer.
 
Methods inherited from class org.apache.mina.filter.codec.ProtocolDecoderAdapter
dispose, finishDecode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
Constructor Detail

RTMPMinaProtocolDecoder

public RTMPMinaProtocolDecoder()
Method Detail

decode

public void decode(IoSession session,
                   IoBuffer in,
                   ProtocolDecoderOutput out)
            throws ProtocolCodecException

Throws:
ProtocolCodecException

setDecoder

public void setDecoder(RTMPProtocolDecoder decoder)
Sets the RTMP protocol decoder.

Parameters:
decoder -

getDecoder

public RTMPProtocolDecoder getDecoder()
Returns an RTMP decoder

Returns:
RTMP decoder

setDeserializer

public void setDeserializer(Deserializer deserializer)
Setter for deserializer.

Parameters:
deserializer - Deserializer


Copyright © 2006-2012 The Red5 Project