接口的使用
com.iohao.game.external.core.micro.PipelineContext
使用PipelineContext的程序包
程序包
说明
游戏对外服 - 负责与外部通信,与真实用户(玩家)建立连接
-
com.iohao.game.external.core.micro中PipelineContext的使用
修饰符和类型方法说明voidMicroBootstrapFlow.pipelineCodec(PipelineContext context) 编解码相关的voidMicroBootstrapFlow.pipelineCustom(PipelineContext context) 自定义的业务编排(给服务器做一些业务编排)default voidMicroBootstrapFlow.pipelineFlow(PipelineContext pipelineContext) 新建连接时的执行流程voidMicroBootstrapFlow.pipelineIdle(PipelineContext context) 心跳相关的 -
com.iohao.game.external.core.netty.micro中PipelineContext的使用
修饰符和类型方法说明protected voidWebSocketMicroBootstrapFlow.httpHandler(PipelineContext context) voidTcpMicroBootstrapFlow.pipelineCodec(PipelineContext context) voidWebSocketMicroBootstrapFlow.pipelineCodec(PipelineContext context) protected voidWebSocketMicroBootstrapFlow.verifyHandler(PipelineContext context) protected voidWebSocketMicroBootstrapFlow.websocketHandler(PipelineContext context)