public class ClientHandler
extends org.apache.mina.core.service.IoHandlerAdapter
Constructor and Description |
---|
ClientHandler() |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(org.apache.mina.core.session.IoSession session,
java.lang.Throwable cause) |
void |
messageReceived(org.apache.mina.core.session.IoSession session,
java.lang.Object message) |
void |
sessionClosed(org.apache.mina.core.session.IoSession session) |
void |
sessionCreated(org.apache.mina.core.session.IoSession session) |
void |
sessionOpened(org.apache.mina.core.session.IoSession session) |
public void sessionCreated(org.apache.mina.core.session.IoSession session) throws java.lang.Exception
sessionCreated
in interface org.apache.mina.core.service.IoHandler
sessionCreated
in class org.apache.mina.core.service.IoHandlerAdapter
java.lang.Exception
public void sessionOpened(org.apache.mina.core.session.IoSession session) throws java.lang.Exception
sessionOpened
in interface org.apache.mina.core.service.IoHandler
sessionOpened
in class org.apache.mina.core.service.IoHandlerAdapter
java.lang.Exception
public void messageReceived(org.apache.mina.core.session.IoSession session, java.lang.Object message) throws java.lang.Exception
messageReceived
in interface org.apache.mina.core.service.IoHandler
messageReceived
in class org.apache.mina.core.service.IoHandlerAdapter
java.lang.Exception
public void sessionClosed(org.apache.mina.core.session.IoSession session) throws java.lang.Exception
sessionClosed
in interface org.apache.mina.core.service.IoHandler
sessionClosed
in class org.apache.mina.core.service.IoHandlerAdapter
java.lang.Exception
public void exceptionCaught(org.apache.mina.core.session.IoSession session, java.lang.Throwable cause) throws java.lang.Exception
exceptionCaught
in interface org.apache.mina.core.service.IoHandler
exceptionCaught
in class org.apache.mina.core.service.IoHandlerAdapter
java.lang.Exception
Copyright © 2021. All Rights Reserved.