1 20 package org.apache.mina.handler.multiton; 21 22 import java.io.IOException ; 23 24 import org.apache.mina.common.IdleStatus; 25 import org.apache.mina.common.IoHandler; 26 import org.apache.mina.common.IoSession; 27 28 44 public interface SingleSessionIoHandler { 45 46 53 void sessionCreated() throws Exception ; 54 55 61 void sessionOpened() throws Exception ; 62 63 69 void sessionClosed() throws Exception ; 70 71 78 void sessionIdle(IdleStatus status) throws Exception ; 79 80 88 void exceptionCaught(Throwable cause) throws Exception ; 89 90 97 void messageReceived(Object message) throws Exception ; 98 99 106 void messageSent(Object message) throws Exception ; 107 108 } 109 | Popular Tags |