org.lastbamboo.common.turn.server.allocated
Class AllocatedTurnServerIoHandler
java.lang.Object
org.littleshoot.mina.common.IoHandlerAdapter
org.lastbamboo.common.turn.server.allocated.AllocatedTurnServerIoHandler
- All Implemented Interfaces:
- org.littleshoot.mina.common.IoHandler
public class AllocatedTurnServerIoHandler
- extends org.littleshoot.mina.common.IoHandlerAdapter
IoHandler for processing TURN Data Indication messages that have
been created to wrap raw data received from remote hosts.
|
Method Summary |
void |
exceptionCaught(org.littleshoot.mina.common.IoSession session,
Throwable cause)
|
void |
messageReceived(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.mina.common.IoHandlerAdapter |
messageSent, sessionClosed, sessionOpened |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllocatedTurnServerIoHandler
public AllocatedTurnServerIoHandler(TurnClient client)
- Creates a new IO handler for the specified TURN client.
- Parameters:
client - The client IO handler.
messageReceived
public void messageReceived(org.littleshoot.mina.common.IoSession session,
Object message)
- Specified by:
messageReceived in interface org.littleshoot.mina.common.IoHandler- Overrides:
messageReceived in class org.littleshoot.mina.common.IoHandlerAdapter
exceptionCaught
public void exceptionCaught(org.littleshoot.mina.common.IoSession session,
Throwable cause)
- Specified by:
exceptionCaught in interface org.littleshoot.mina.common.IoHandler- Overrides:
exceptionCaught 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.mina.common.IoHandlerAdapter
- 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.mina.common.IoHandlerAdapter
Copyright © 2013 LittleShoot. All Rights Reserved.