public class ServerHandler extends Object implements org.oiue.service.tcp.Handler
| Constructor and Description |
|---|
ServerHandler(org.oiue.service.log.LogService logService,
org.oiue.service.action.api.ActionService actionService,
org.oiue.service.online.OnlineService onlineService,
org.oiue.service.bytes.api.BytesService bytesService) |
| 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) |
void |
updated(Dictionary props) |
public ServerHandler(org.oiue.service.log.LogService logService,
org.oiue.service.action.api.ActionService actionService,
org.oiue.service.online.OnlineService onlineService,
org.oiue.service.bytes.api.BytesService bytesService)
public void updated(Dictionary props)
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 © 2016. All rights reserved.