|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.ut2004.teamcomm.mina.server.TCMinaServer
public class TCMinaServer
| Constructor Summary | |
|---|---|
TCMinaServer(UT2004TCServer owner,
InetSocketAddress bindAddress,
Logger log)
|
|
| Method Summary | |
|---|---|
void |
botLeft(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
'owner' is reporting that some bot has left the UT2004 server. |
void |
exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable exception)
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getMyId()
|
cz.cuni.amis.utils.flag.ImmutableFlag<Boolean> |
getRunning()
Whether the TCMinaServer is running. |
void |
messageReceived(org.apache.mina.core.session.IoSession session,
Object message)
|
void |
messageSent(org.apache.mina.core.session.IoSession session,
Object message)
|
void |
sessionClosed(org.apache.mina.core.session.IoSession session)
|
void |
sessionCreated(org.apache.mina.core.session.IoSession session)
|
void |
sessionIdle(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.session.IdleStatus status)
|
void |
sessionOpened(org.apache.mina.core.session.IoSession session)
|
void |
start()
Starts this TCMinaServer. |
void |
stop()
Stops this TCMinaServer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TCMinaServer(UT2004TCServer owner,
InetSocketAddress bindAddress,
Logger log)
| Method Detail |
|---|
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getMyId()
public void botLeft(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
botId - public cz.cuni.amis.utils.flag.ImmutableFlag<Boolean> getRunning()
public void start()
throws cz.cuni.amis.utils.exception.PogamutException
TCMinaServer.
cz.cuni.amis.utils.exception.PogamutExceptionpublic void stop()
TCMinaServer.
cz.cuni.amis.utils.exception.PogamutException
public void exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable exception)
throws Exception
exceptionCaught in interface org.apache.mina.core.service.IoHandlerException
public void messageReceived(org.apache.mina.core.session.IoSession session,
Object message)
throws Exception
messageReceived in interface org.apache.mina.core.service.IoHandlerException
public void messageSent(org.apache.mina.core.session.IoSession session,
Object message)
throws Exception
messageSent in interface org.apache.mina.core.service.IoHandlerException
public void sessionClosed(org.apache.mina.core.session.IoSession session)
throws Exception
sessionClosed in interface org.apache.mina.core.service.IoHandlerException
public void sessionCreated(org.apache.mina.core.session.IoSession session)
throws Exception
sessionCreated in interface org.apache.mina.core.service.IoHandlerException
public void sessionIdle(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.session.IdleStatus status)
throws Exception
sessionIdle in interface org.apache.mina.core.service.IoHandlerException
public void sessionOpened(org.apache.mina.core.session.IoSession session)
throws Exception
sessionOpened in interface org.apache.mina.core.service.IoHandlerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||