public interface ControllerInvokerHandler
| 限定符和类型 | 方法和说明 |
|---|---|
ControllerResp |
request(ClientNetSession session,
ProtocolType type,
int msgId,
int commandId,
byte[] msg)
同步请求后端服务器,等待消息响应
|
void |
request(ClientNetSession session,
ProtocolType type,
int msgId,
int commandId,
byte[] msg,
java.util.function.BiConsumer<ControllerResp,? super Throwable> action) |
ControllerResp request(ClientNetSession session, ProtocolType type, int msgId, int commandId, byte[] msg) throws Throwable
session - Throwablevoid request(ClientNetSession session, ProtocolType type, int msgId, int commandId, byte[] msg, java.util.function.BiConsumer<ControllerResp,? super Throwable> action) throws Throwable
ThrowableCopyright © 2021. All rights reserved.