public class ConnectionUtil extends Object
| 构造器和说明 |
|---|
ConnectionUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addIdGroupCallbackMapping(Integer id,
InvokeFuture callback,
io.netty.channel.Channel channel) |
static void |
addIdPoolKeyMapping(Integer id,
String group,
io.netty.channel.Channel channel) |
static Connection |
getConnectionFromChannel(io.netty.channel.Channel channel) |
static InvokeFuture |
getGroupRequestCallBack(Integer id,
io.netty.channel.Channel channel) |
static InvokeFuture |
removeIdGroupCallbackMapping(Integer id,
io.netty.channel.Channel channel) |
static String |
removeIdPoolKeyMapping(Integer id,
io.netty.channel.Channel channel) |
public static Connection getConnectionFromChannel(io.netty.channel.Channel channel)
public static void addIdPoolKeyMapping(Integer id, String group, io.netty.channel.Channel channel)
public static String removeIdPoolKeyMapping(Integer id, io.netty.channel.Channel channel)
public static void addIdGroupCallbackMapping(Integer id, InvokeFuture callback, io.netty.channel.Channel channel)
public static InvokeFuture removeIdGroupCallbackMapping(Integer id, io.netty.channel.Channel channel)
public static InvokeFuture getGroupRequestCallBack(Integer id, io.netty.channel.Channel channel)
Copyright © 2021. All rights reserved.