public class SessionImpl extends Object implements org.oiue.service.tcp.Session, Serializable
| Constructor and Description |
|---|
SessionImpl(org.apache.mina.core.session.IoSession session,
org.oiue.service.log.LogService logService) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
getAttribute(String key) |
Object |
setAttribute(String key,
Object attribute) |
static String |
toByteString(byte[] bytes,
int size) |
String |
toString() |
void |
write(byte[] data) |
void |
write(String line) |
public SessionImpl(org.apache.mina.core.session.IoSession session,
org.oiue.service.log.LogService logService)
public void close()
close in interface org.oiue.service.tcp.Sessionpublic Object getAttribute(String key)
getAttribute in interface org.oiue.service.tcp.Sessionpublic Object setAttribute(String key, Object attribute)
setAttribute in interface org.oiue.service.tcp.Sessionpublic static String toByteString(byte[] bytes, int size)
public void write(byte[] data)
write in interface org.oiue.service.tcp.Sessionpublic void write(String line)
write in interface org.oiue.service.tcp.SessionCopyright © 2016. All rights reserved.