org.red5.server.net.rtmp.codec
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.InitializingBean
Exception
public ProtocolDecoder getDecoder(IoSession session)
getDecoder
in interface ProtocolCodecFactory
public ProtocolEncoder getEncoder(IoSession session)
getEncoder
in interface ProtocolCodecFactory
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2006-2012 The Red5 Project