public interface ChannelInternal extends Channel
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doOpenFuture(boolean isOk,
Throwable error)
执行打开时
|
StreamInternal |
getStream(String sid)
获取流
|
void |
onOpenFuture(BiConsumer<Boolean,Throwable> future)
当打开时
|
void |
setLiveTimeAsNow()
更新最后活动时间
|
void |
setSession(Session session)
设置会话
|
close, getAttachment, getConfig, getHandshake, getLiveTime, getLocalAddress, getRemoteAddress, getSession, isClosed, isClosing, isValid, onError, putAttachment, reconnect, retrieve, send, sendAlarm, sendClose, sendConnack, sendConnect, sendPing, sendPong, setHandshakevoid setSession(Session session)
void setLiveTimeAsNow()
StreamInternal getStream(String sid)
void onOpenFuture(BiConsumer<Boolean,Throwable> future)
void doOpenFuture(boolean isOk,
Throwable error)
Copyright © 2024. All rights reserved.