|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.red5.server.net.rtmp.codec.RTMPCodecFactory
public class RTMPCodecFactory
RTMP codec factory creates RTMP encoders/decoders.
Field Summary | |
---|---|
protected Deserializer |
deserializer
Deserializer. |
protected Serializer |
serializer
Serializer. |
Constructor Summary | |
---|---|
RTMPCodecFactory()
|
Method Summary | |
---|---|
ProtocolDecoder |
getDecoder(IoSession session)
|
ProtocolEncoder |
getEncoder(IoSession session)
|
RTMPProtocolDecoder |
getRTMPDecoder()
Returns the RTMP decoder. |
RTMPProtocolEncoder |
getRTMPEncoder()
Returns the RTMP encoder. |
void |
init()
Initialization |
void |
setDeserializer(Deserializer deserializer)
Setter for deserializer. |
void |
setSerializer(Serializer serializer)
Setter for serializer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Deserializer deserializer
protected Serializer serializer
Constructor Detail |
---|
public RTMPCodecFactory()
Method Detail |
---|
public void init()
public void setDeserializer(Deserializer deserializer)
deserializer
- Deserializerpublic void setSerializer(Serializer serializer)
serializer
- Serializerpublic ProtocolDecoder getDecoder(IoSession session)
getDecoder
in interface ProtocolCodecFactory
public ProtocolEncoder getEncoder(IoSession session)
getEncoder
in interface ProtocolCodecFactory
public RTMPProtocolDecoder getRTMPDecoder()
public RTMPProtocolEncoder getRTMPEncoder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |