|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.turn.server.TurnClientManagerImpl
public final class TurnClientManagerImpl
Manages endpoint bindings for TURN clients. This includes allocating bindings, timing out bindings, etc.
| Constructor Summary | |
|---|---|
TurnClientManagerImpl()
Creates a new TURN client manager. |
|
| Method Summary | |
|---|---|
TurnClient |
allocateBinding(org.littleshoot.mina.common.IoSession ioSession)
Allocates a binding for the specified TURN client that other nodes can use to access it. |
int |
getMaxNumRemoteSingleTurnClient()
Get the maximum number of remote host connections we've seen for any single client. |
int |
getMaxNumRemoteTurnClients()
Accessor for the maximum number of remote clients at any one time. |
int |
getMaxNumTurnClients()
Accessor for the maximum number of TURN clients seen. |
int |
getNumRemoteTurnClients()
Accessor for the total number of remote clients accessing the server. |
int |
getNumTurnClients()
Accessor for the number of clients currently connected to this TURN server. |
TurnClient |
getTurnClient(org.littleshoot.mina.common.IoSession readerWriter)
Accessor for the TURN client handler for the specified TURN client address. |
TurnClient |
removeBinding(org.littleshoot.mina.common.IoSession session)
Removes the TURN client associated with the specified reader/writer instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TurnClientManagerImpl()
| Method Detail |
|---|
public TurnClient allocateBinding(org.littleshoot.mina.common.IoSession ioSession)
TurnClientManager
allocateBinding in interface TurnClientManagerioSession - The class for writing data back to the TURN client.
public TurnClient getTurnClient(org.littleshoot.mina.common.IoSession readerWriter)
TurnClientManager
getTurnClient in interface TurnClientManagerreaderWriter - The reader/writer for the client.
public TurnClient removeBinding(org.littleshoot.mina.common.IoSession session)
TurnClientManager
removeBinding in interface TurnClientManagersession - The reader/writer to remove.
public int getNumTurnClients()
TurnClientManagerImplMBean
getNumTurnClients in interface TurnClientManagerImplMBeanpublic int getMaxNumTurnClients()
TurnClientManagerImplMBean
getMaxNumTurnClients in interface TurnClientManagerImplMBeanpublic int getNumRemoteTurnClients()
TurnClientManagerImplMBean
getNumRemoteTurnClients in interface TurnClientManagerImplMBeanpublic int getMaxNumRemoteTurnClients()
TurnClientManagerImplMBean
Note that this number is not necessarily precisely accurate. Rather
it reflects the maximum number for any time we've taken a reading,
which should be close to the true value.
getMaxNumRemoteTurnClients in interface TurnClientManagerImplMBeanpublic int getMaxNumRemoteSingleTurnClient()
TurnClientManagerImplMBean
Note that this number is not necessarily precisely accurate. Rather
it reflects the maximum number for any time we've taken a reading,
which should be close to the true value.
getMaxNumRemoteSingleTurnClient in interface TurnClientManagerImplMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||