org.red5.server.net.rtmp.codec
Class RTMPMinaCodecFactory
java.lang.Object
org.red5.server.net.rtmp.codec.RTMPMinaCodecFactory
- All Implemented Interfaces:
- ProtocolCodecFactory, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class RTMPMinaCodecFactory
- extends Object
- implements ProtocolCodecFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
RTMP codec factory.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appCtx
protected org.springframework.context.ApplicationContext appCtx
decoder
protected RTMPMinaProtocolDecoder decoder
- RTMP Mina protocol decoder.
encoder
protected RTMPMinaProtocolEncoder encoder
- RTMP Mina protocol encoder.
RTMPMinaCodecFactory
public RTMPMinaCodecFactory()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getDecoder
public ProtocolDecoder getDecoder(IoSession session)
-
- Specified by:
getDecoder
in interface ProtocolCodecFactory
getEncoder
public ProtocolEncoder getEncoder(IoSession session)
-
- Specified by:
getEncoder
in interface ProtocolCodecFactory
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
Copyright © 2006-2012 The Red5 Project