com.alibaba.otter.shared.communication.core.model
类 CommunicationParam

java.lang.Object
  继承者 com.alibaba.otter.shared.communication.core.model.CommunicationParam

public class CommunicationParam
extends Object

连接参数类,如果参数有变化,需要酌情考虑是否更新相应的hashcode & equals方法

作者:
jianghang 2011-9-9 下午07:16:59

构造方法摘要
CommunicationParam()
           
 
方法摘要
 boolean equals(Object obj)
           
 com.alibaba.otter.shared.communication.core.model.CommunicationParam.CummunicationMethod getComMethod()
           
 String getIp()
           
 int getPort()
           
 int hashCode()
           
 void setComMethod(com.alibaba.otter.shared.communication.core.model.CommunicationParam.CummunicationMethod comMethod)
           
 void setComMethod(String comMethod)
           
 void setIp(String ip)
           
 void setPort(int port)
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CommunicationParam

public CommunicationParam()
方法详细信息

getComMethod

public com.alibaba.otter.shared.communication.core.model.CommunicationParam.CummunicationMethod getComMethod()

setComMethod

public void setComMethod(String comMethod)

setComMethod

public void setComMethod(com.alibaba.otter.shared.communication.core.model.CommunicationParam.CummunicationMethod comMethod)

getIp

public String getIp()

setIp

public void setIp(String ip)

getPort

public int getPort()

setPort

public void setPort(int port)

hashCode

public int hashCode()
覆盖:
类 Object 中的 hashCode

equals

public boolean equals(Object obj)
覆盖:
类 Object 中的 equals


Copyright © 2011-2014 alibaba. All Rights Reserved.