com.taobao.metamorphosis.network
类 RemotingUtils

java.lang.Object
  继承者 com.taobao.metamorphosis.network.RemotingUtils

public class RemotingUtils
extends Object


构造方法摘要
RemotingUtils()
           
 
方法摘要
static String getLocalHost()
           
static String normalizeHostAddress(InetAddress localHost)
           
static void response(com.taobao.gecko.service.Connection conn, com.taobao.gecko.core.command.ResponseCommand response)
           
static void setLocalHost(String host)
          Just for test.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RemotingUtils

public RemotingUtils()
方法详细信息

response

public static void response(com.taobao.gecko.service.Connection conn,
                            com.taobao.gecko.core.command.ResponseCommand response)

setLocalHost

public static void setLocalHost(String host)
Just for test.

参数:
host -

getLocalHost

public static String getLocalHost()
                           throws Exception
抛出:
Exception

normalizeHostAddress

public static String normalizeHostAddress(InetAddress localHost)


Copyright © 2010–2013. All rights reserved.