public interface SoContext
| 限定符和类型 | 方法和说明 |
|---|---|
SoChannel<?> |
findChannel(long channelID)
find SoChannel by id
|
CobbleSocket |
getCobble()
get CobbleSocket
|
SoConfig |
getConfig()
return global config.
|
SocketAddress |
getRemoteAddress(long channelID)
get remote address of the channel
|
SoResManager |
getResourceManager()
default
SoResManager |
boolean |
isClose(long channelID)
test channel is not exist or closed
|
SoConfig getConfig()
SoResManager getResourceManager()
SoResManagerSocketAddress getRemoteAddress(long channelID)
boolean isClose(long channelID)
SoChannel<?> findChannel(long channelID)
CobbleSocket getCobble()
Copyright © 2022–2024. All rights reserved.