|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.net.mrtmp.SimpleMRTMPOriginManager
public class SimpleMRTMPOriginManager
Constructor Summary | |
---|---|
SimpleMRTMPOriginManager()
|
Method Summary | |
---|---|
void |
associate(RTMPConnection rtmpConn,
IMRTMPConnection mrtmpConn)
Associate the client to a MRTMP connection so that the packet will be sent via this MRTMP connection. |
void |
dissociate(RTMPConnection rtmpConn)
Deassociate the client from the MRTMP connection previously associated to. |
IMRTMPConnection |
lookupMRTMPConnection(RTMPConnection rtmpConn)
Map a client to an Edge/Origin MRTMP connection. |
boolean |
registerConnection(IMRTMPConnection conn)
Register a MRTMP connection so that it can be later been looked up. |
void |
setOriginMRTMPHandler(OriginMRTMPHandler originMRTMPHandler)
|
boolean |
unregisterConnection(IMRTMPConnection conn)
Unregister a MRTMP connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMRTMPOriginManager()
Method Detail |
---|
public void setOriginMRTMPHandler(OriginMRTMPHandler originMRTMPHandler)
public boolean registerConnection(IMRTMPConnection conn)
IMRTMPManager
registerConnection
in interface IMRTMPManager
public boolean unregisterConnection(IMRTMPConnection conn)
IMRTMPManager
unregisterConnection
in interface IMRTMPManager
public void associate(RTMPConnection rtmpConn, IMRTMPConnection mrtmpConn)
IMRTMPOriginManager
associate
in interface IMRTMPOriginManager
rtmpConn
- rtmp connectionmrtmpConn
- mrtmp connectionpublic void dissociate(RTMPConnection rtmpConn)
IMRTMPOriginManager
dissociate
in interface IMRTMPOriginManager
public IMRTMPConnection lookupMRTMPConnection(RTMPConnection rtmpConn)
IMRTMPManager
lookupMRTMPConnection
in interface IMRTMPManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |