public class RTMPMinaCodecFactory extends Object implements ProtocolCodecFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
appCtx |
protected RTMPMinaProtocolDecoder |
decoder
RTMP Mina protocol decoder.
|
protected RTMPMinaProtocolEncoder |
encoder
RTMP Mina protocol encoder.
|
| Constructor and Description |
|---|
RTMPMinaCodecFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
ProtocolDecoder |
getDecoder(IoSession session) |
ProtocolEncoder |
getEncoder(IoSession session) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected org.springframework.context.ApplicationContext appCtx
protected RTMPMinaProtocolDecoder decoder
protected RTMPMinaProtocolEncoder encoder
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic ProtocolDecoder getDecoder(IoSession session)
getDecoder in interface ProtocolCodecFactorypublic ProtocolEncoder getEncoder(IoSession session)
getEncoder in interface ProtocolCodecFactorypublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2006-2012 The Red5 Project