org.lastbamboo.common.turn.server
Class TurnServerIoHandler
java.lang.Object
org.littleshoot.mina.common.IoHandlerAdapter
org.littleshoot.stun.stack.StunIoHandler
org.lastbamboo.common.turn.server.TurnServerIoHandler
- All Implemented Interfaces:
- org.littleshoot.mina.common.IoHandler
public class TurnServerIoHandler
- extends org.littleshoot.stun.stack.StunIoHandler
IoHandler for TURN STUN servers.
|
Constructor Summary |
TurnServerIoHandler(org.littleshoot.stun.stack.message.StunMessageVisitorFactory factory)
Creates a new server IO handler. |
|
Method Summary |
void |
messageSent(org.littleshoot.mina.common.IoSession session,
Object message)
|
void |
sessionCreated(org.littleshoot.mina.common.IoSession session)
|
void |
sessionIdle(org.littleshoot.mina.common.IoSession session,
org.littleshoot.mina.common.IdleStatus status)
|
| Methods inherited from class org.littleshoot.stun.stack.StunIoHandler |
exceptionCaught, messageReceived |
| Methods inherited from class org.littleshoot.mina.common.IoHandlerAdapter |
sessionClosed, sessionOpened |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TurnServerIoHandler
public TurnServerIoHandler(org.littleshoot.stun.stack.message.StunMessageVisitorFactory factory)
- Creates a new server IO handler.
- Parameters:
factory - The STUN server message visitor for processing read
messages.
messageSent
public void messageSent(org.littleshoot.mina.common.IoSession session,
Object message)
- Specified by:
messageSent in interface org.littleshoot.mina.common.IoHandler- Overrides:
messageSent in class org.littleshoot.mina.common.IoHandlerAdapter
sessionCreated
public void sessionCreated(org.littleshoot.mina.common.IoSession session)
throws Exception
- Specified by:
sessionCreated in interface org.littleshoot.mina.common.IoHandler- Overrides:
sessionCreated in class org.littleshoot.stun.stack.StunIoHandler
- Throws:
Exception
sessionIdle
public void sessionIdle(org.littleshoot.mina.common.IoSession session,
org.littleshoot.mina.common.IdleStatus status)
- Specified by:
sessionIdle in interface org.littleshoot.mina.common.IoHandler- Overrides:
sessionIdle in class org.littleshoot.stun.stack.StunIoHandler
Copyright © 2013 LittleShoot. All Rights Reserved.