|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.common.IoHandlerAdapter
com.sun.sgs.impl.io.SocketConnectionListener
class SocketConnectionListener
An adapter between an Apache MINA IoHandler and the SGS
IO framework ConnectionListener. SocketHandlers exist one per
Connection on the client Connector side, and exist one per
Acceptor on the server side.
| Constructor Summary | |
|---|---|
SocketConnectionListener()
|
|
| Method Summary | |
|---|---|
void |
exceptionCaught(org.apache.mina.common.IoSession session,
Throwable exception)
|
void |
messageReceived(org.apache.mina.common.IoSession session,
Object message)
|
void |
sessionClosed(org.apache.mina.common.IoSession session)
|
void |
sessionOpened(org.apache.mina.common.IoSession session)
|
| Methods inherited from class org.apache.mina.common.IoHandlerAdapter |
|---|
messageSent, sessionCreated, sessionIdle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SocketConnectionListener()
| Method Detail |
|---|
public void sessionOpened(org.apache.mina.common.IoSession session)
throws Exception
Forwards to ConnectionListener.connected(com.sun.sgs.io.Connection).
sessionOpened in interface org.apache.mina.common.IoHandlersessionOpened in class org.apache.mina.common.IoHandlerAdapterException
public void sessionClosed(org.apache.mina.common.IoSession session)
throws Exception
Forwards to ConnectionListener.disconnected(com.sun.sgs.io.Connection).
sessionClosed in interface org.apache.mina.common.IoHandlersessionClosed in class org.apache.mina.common.IoHandlerAdapterException
public void exceptionCaught(org.apache.mina.common.IoSession session,
Throwable exception)
throws Exception
Forwards to ConnectionListener.exceptionThrown(com.sun.sgs.io.Connection, java.lang.Throwable).
exceptionCaught in interface org.apache.mina.common.IoHandlerexceptionCaught in class org.apache.mina.common.IoHandlerAdapterException
public void messageReceived(org.apache.mina.common.IoSession session,
Object message)
throws Exception
Obtains the CompleteMessageFilter for the associated
Connection, and forwards incoming data to the filter's
filterReceive method.
messageReceived in interface org.apache.mina.common.IoHandlermessageReceived in class org.apache.mina.common.IoHandlerAdapterException
|
Project Darkstar, Version 0.9.9.2 2013-07-29 20:45:08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||