org.red5.server.net.rtsp.codec
Class RTSPEncoder

java.lang.Object
  extended by org.red5.server.net.rtsp.codec.RTSPEncoder
All Implemented Interfaces:
ProtocolEncoder

public class RTSPEncoder
extends Object
implements ProtocolEncoder

Encode a RTSP message into a buffer for sending.

Author:
Matteo Merli (matteo.merli@gmail.com)

Constructor Summary
RTSPEncoder()
           
 
Method Summary
 void dispose(IoSession arg0)
           
 void encode(IoSession session, Object message, ProtocolEncoderOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTSPEncoder

public RTSPEncoder()
Method Detail

encode

public void encode(IoSession session,
                   Object message,
                   ProtocolEncoderOutput out)
            throws ProtocolEncoderException
Specified by:
encode in interface ProtocolEncoder
Throws:
ProtocolEncoderException

dispose

public void dispose(IoSession arg0)
             throws Exception
Specified by:
dispose in interface ProtocolEncoder
Throws:
Exception


Copyright © 2006-2009 The Red5 Project