org.red5.server.net.mrtmp
Class OriginMRTMPHandler
java.lang.Object
org.apache.mina.core.service.IoHandlerAdapter
org.red5.server.net.mrtmp.OriginMRTMPHandler
- All Implemented Interfaces:
- IoHandler
public class OriginMRTMPHandler
- extends IoHandlerAdapter
- Author:
- Steven Gong (steven.gong@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OriginMRTMPHandler
public OriginMRTMPHandler()
setMrtmpManager
public void setMrtmpManager(IMRTMPOriginManager mrtmpManager)
setHandler
public void setHandler(IRTMPHandler handler)
setCodecFactory
public void setCodecFactory(ProtocolCodecFactory codecFactory)
messageReceived
public void messageReceived(IoSession session,
Object message)
throws Exception
- Specified by:
messageReceived in interface IoHandler- Overrides:
messageReceived in class IoHandlerAdapter
- Throws:
Exception
messageSent
public void messageSent(IoSession session,
Object message)
throws Exception
- Specified by:
messageSent in interface IoHandler- Overrides:
messageSent in class IoHandlerAdapter
- Throws:
Exception
sessionClosed
public void sessionClosed(IoSession session)
throws Exception
- Specified by:
sessionClosed in interface IoHandler- Overrides:
sessionClosed in class IoHandlerAdapter
- Throws:
Exception
sessionCreated
public void sessionCreated(IoSession session)
throws Exception
- Specified by:
sessionCreated in interface IoHandler- Overrides:
sessionCreated in class IoHandlerAdapter
- Throws:
Exception
closeConnection
public void closeConnection(RTMPOriginConnection conn)
getSessionId
protected int getSessionId(IoSession session)
Copyright © 2006-2009 The Red5 Project