|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.turn.server.allocated.TcpAllocatedTurnServer
public class TcpAllocatedTurnServer
Implementation of a TCP allocated TURN server.
| Constructor Summary | |
|---|---|
TcpAllocatedTurnServer(TurnClient turnClient,
InetAddress publicAddress)
Creates a new TURN server allocated on behalf of a TURN client. |
|
| Method Summary | |
|---|---|
InetSocketAddress |
getSocketAddress()
Accessor for the address the server is listening on. |
void |
serviceActivated(org.littleshoot.mina.common.IoService service,
SocketAddress serviceAddress,
org.littleshoot.mina.common.IoHandler handler,
org.littleshoot.mina.common.IoServiceConfig config)
|
void |
serviceDeactivated(org.littleshoot.mina.common.IoService service,
SocketAddress serviceAddress,
org.littleshoot.mina.common.IoHandler handler,
org.littleshoot.mina.common.IoServiceConfig config)
|
void |
sessionCreated(org.littleshoot.mina.common.IoSession session)
|
void |
sessionDestroyed(org.littleshoot.mina.common.IoSession session)
|
void |
start()
Starts the server. |
void |
stop()
Stops the server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TcpAllocatedTurnServer(TurnClient turnClient,
InetAddress publicAddress)
turnClient - The TURN client.publicAddress - The address to bind to.| Method Detail |
|---|
public void start()
AllocatedTurnServer
start in interface AllocatedTurnServerpublic void stop()
AllocatedTurnServer
stop in interface AllocatedTurnServer
public void serviceActivated(org.littleshoot.mina.common.IoService service,
SocketAddress serviceAddress,
org.littleshoot.mina.common.IoHandler handler,
org.littleshoot.mina.common.IoServiceConfig config)
serviceActivated in interface org.littleshoot.mina.common.IoServiceListener
public void serviceDeactivated(org.littleshoot.mina.common.IoService service,
SocketAddress serviceAddress,
org.littleshoot.mina.common.IoHandler handler,
org.littleshoot.mina.common.IoServiceConfig config)
serviceDeactivated in interface org.littleshoot.mina.common.IoServiceListenerpublic void sessionCreated(org.littleshoot.mina.common.IoSession session)
sessionCreated in interface org.littleshoot.mina.common.IoServiceListenerpublic void sessionDestroyed(org.littleshoot.mina.common.IoSession session)
sessionDestroyed in interface org.littleshoot.mina.common.IoServiceListenerpublic InetSocketAddress getSocketAddress()
AllocatedTurnServer
getSocketAddress in interface AllocatedTurnServer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||