|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.net.rtmp.codec.RTMPMinaCodecFactory
public class RTMPMinaCodecFactory
RTMP codec factory.
Field Summary | |
---|---|
protected RTMPMinaProtocolDecoder |
decoder
RTMP Mina protocol decoder. |
protected RTMPMinaProtocolEncoder |
encoder
RTMP Mina protocol encoder. |
Constructor Summary | |
---|---|
RTMPMinaCodecFactory()
|
Method Summary | |
---|---|
ProtocolDecoder |
getDecoder(IoSession session)
|
ProtocolEncoder |
getEncoder(IoSession session)
|
RTMPMinaProtocolDecoder |
getMinaDecoder()
|
RTMPMinaProtocolEncoder |
getMinaEncoder()
|
void |
init()
Initialization. |
void |
setMinaDecoder(RTMPMinaProtocolDecoder decoder)
Setter for decoder |
void |
setMinaEncoder(RTMPMinaProtocolEncoder encoder)
Setter for encoder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RTMPMinaProtocolDecoder decoder
protected RTMPMinaProtocolEncoder encoder
Constructor Detail |
---|
public RTMPMinaCodecFactory()
Method Detail |
---|
public void init()
public void setMinaEncoder(RTMPMinaProtocolEncoder encoder)
encoder
- Encoderpublic void setMinaDecoder(RTMPMinaProtocolDecoder decoder)
decoder
- Decoderpublic ProtocolDecoder getDecoder(IoSession session)
getDecoder
in interface ProtocolCodecFactory
public ProtocolEncoder getEncoder(IoSession session)
getEncoder
in interface ProtocolCodecFactory
public RTMPMinaProtocolDecoder getMinaDecoder()
public RTMPMinaProtocolEncoder getMinaEncoder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |