public class ServerHandler extends Object implements org.oiue.service.tcp.Handler
| Constructor and Description |
|---|
ServerHandler(org.oiue.service.odp.base.FactoryService factoryService) |
| Modifier and Type | Method and Description |
|---|---|
void |
closed(org.oiue.service.tcp.Session session) |
int |
getReaderIdleCount() |
void |
idled(org.oiue.service.tcp.Session session) |
void |
opened(org.oiue.service.tcp.Session session) |
void |
received(org.oiue.service.tcp.Session session,
String line,
byte[] bytes) |
void |
sent(org.oiue.service.tcp.Session session) |
public ServerHandler(org.oiue.service.odp.base.FactoryService factoryService)
public void received(org.oiue.service.tcp.Session session,
String line,
byte[] bytes)
throws Exception
received in interface org.oiue.service.tcp.HandlerExceptionpublic void closed(org.oiue.service.tcp.Session session)
throws Exception
closed in interface org.oiue.service.tcp.HandlerExceptionpublic void opened(org.oiue.service.tcp.Session session)
throws Exception
opened in interface org.oiue.service.tcp.HandlerExceptionpublic void idled(org.oiue.service.tcp.Session session)
throws Exception
idled in interface org.oiue.service.tcp.HandlerExceptionpublic void sent(org.oiue.service.tcp.Session session)
throws Exception
sent in interface org.oiue.service.tcp.HandlerExceptionpublic int getReaderIdleCount()
getReaderIdleCount in interface org.oiue.service.tcp.HandlerCopyright © 2017. All rights reserved.