com.alipay.remoting.util
Class ConnectionUtil

java.lang.Object
  extended by com.alipay.remoting.util.ConnectionUtil

public class ConnectionUtil
extends Object

connection util


Constructor Summary
ConnectionUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionUtil

public ConnectionUtil()
Method Detail

getConnectionFromChannel

public static Connection getConnectionFromChannel(io.netty.channel.Channel channel)

addIdPoolKeyMapping

public static void addIdPoolKeyMapping(Integer id,
                                       String group,
                                       io.netty.channel.Channel channel)

removeIdPoolKeyMapping

public static String removeIdPoolKeyMapping(Integer id,
                                            io.netty.channel.Channel channel)

addIdGroupCallbackMapping

public static void addIdGroupCallbackMapping(Integer id,
                                             InvokeFuture callback,
                                             io.netty.channel.Channel channel)

removeIdGroupCallbackMapping

public static InvokeFuture removeIdGroupCallbackMapping(Integer id,
                                                        io.netty.channel.Channel channel)

getGroupRequestCallBack

public static InvokeFuture getGroupRequestCallBack(Integer id,
                                                   io.netty.channel.Channel channel)


Copyright © 2018. All rights reserved.