| 构造器和说明 |
|---|
_SocketSession(org.smartboot.socket.transport.AioSession real) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
boolean |
equals(Object o) |
static XSession |
get(org.smartboot.socket.transport.AioSession real) |
<T> T |
getAttachment() |
InetSocketAddress |
getLocalAddress() |
Collection<XSession> |
getOpenSessions() |
InetSocketAddress |
getRemoteAddress() |
int |
hashCode() |
boolean |
isSecure() |
boolean |
isValid() |
XMethod |
method() |
String |
path() |
Object |
real() |
static void |
remove(org.smartboot.socket.transport.AioSession real) |
void |
send(byte[] message) |
void |
send(String message) |
void |
send(XMessage message) |
void |
setAttachment(Object obj) |
public static XSession get(org.smartboot.socket.transport.AioSession real)
public static void remove(org.smartboot.socket.transport.AioSession real)
public void close()
throws IOException
close 在接口中 XSessionIOExceptionpublic InetSocketAddress getRemoteAddress()
getRemoteAddress 在接口中 XSessionpublic InetSocketAddress getLocalAddress()
getLocalAddress 在接口中 XSessionpublic void setAttachment(Object obj)
setAttachment 在接口中 XSessionpublic <T> T getAttachment()
getAttachment 在接口中 XSessionpublic Collection<XSession> getOpenSessions()
getOpenSessions 在接口中 XSessionCopyright © 2020. All rights reserved.