org.red5.server.net.rtmpt.codec
Class RTMPTProtocolEncoder

java.lang.Object
  extended by org.red5.server.net.rtmp.codec.RTMPProtocolEncoder
      extended by org.red5.server.net.rtmpt.codec.RTMPTProtocolEncoder
All Implemented Interfaces:
IEventEncoder, Constants

public class RTMPTProtocolEncoder
extends RTMPProtocolEncoder

RTMPT protocol encoder. To be implemented.


Field Summary
 
Fields inherited from class org.red5.server.net.rtmp.codec.RTMPProtocolEncoder
log, serializer
 
Fields inherited from interface org.red5.server.net.rtmp.message.Constants
HANDSHAKE_SIZE, HEADER_CONTINUE, HEADER_NEW, HEADER_SAME_SOURCE, HEADER_TIMER_CHANGE, MEDIUM_INT_MAX, SO_CLIENT_CLEAR_DATA, SO_CLIENT_DELETE_DATA, SO_CLIENT_INITIAL_DATA, SO_CLIENT_SEND_MESSAGE, SO_CLIENT_STATUS, SO_CLIENT_UPDATE_ATTRIBUTE, SO_CLIENT_UPDATE_DATA, SO_CONNECT, SO_DELETE_ATTRIBUTE, SO_DISCONNECT, SO_SEND_MESSAGE, SO_SET_ATTRIBUTE, SOURCE_TYPE_LIVE, SOURCE_TYPE_VOD, TYPE_ABORT, TYPE_AGGREGATE, TYPE_AUDIO_DATA, TYPE_BYTES_READ, TYPE_CHUNK_SIZE, TYPE_CLIENT_BANDWIDTH, TYPE_EDGE_ORIGIN, TYPE_FLEX_MESSAGE, TYPE_FLEX_SHARED_OBJECT, TYPE_FLEX_STREAM_SEND, TYPE_INVOKE, TYPE_NOTIFY, TYPE_PING, TYPE_SERVER_BANDWIDTH, TYPE_SHARED_OBJECT, TYPE_STREAM_METADATA, TYPE_VIDEO_DATA
 
Constructor Summary
RTMPTProtocolEncoder()
           
 
Method Summary
protected  void encodeNotifyOrInvoke(IoBuffer out, Notify invoke, RTMP rtmp)
          Encode notification event and fill given byte buffer.
 
Methods inherited from class org.red5.server.net.rtmp.codec.RTMPProtocolEncoder
dropMessage, encode, encodeAggregate, encodeAudioData, encodeBytesRead, encodeChunkSize, encodeFlexMessage, encodeFlexSharedObject, encodeFlexStreamSend, encodeHeader, encodeHeader, encodeInvoke, encodeMessage, encodeNotify, encodeNotifyOrInvoke, encodePacket, encodePing, encodeSharedObject, encodeStreamMetadata, encodeUnknown, encodeVideoData, generateErrorResult, getBaseTolerance, setBaseTolerance, setConnection, setDropLiveFuture, setSerializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTMPTProtocolEncoder

public RTMPTProtocolEncoder()
Method Detail

encodeNotifyOrInvoke

protected void encodeNotifyOrInvoke(IoBuffer out,
                                    Notify invoke,
                                    RTMP rtmp)
Description copied from class: RTMPProtocolEncoder
Encode notification event and fill given byte buffer.

Overrides:
encodeNotifyOrInvoke in class RTMPProtocolEncoder
Parameters:
out - Byte buffer to fill
invoke - Notification event


Copyright © 2006-2012 The Red5 Project