com.github.ltsopensource.jobtracker.domain
Class JobClientNode

java.lang.Object
  extended by com.github.ltsopensource.jobtracker.domain.JobClientNode

public class JobClientNode
extends Object

Author:
Robert HG (254963746@qq.com) on 8/17/14. 客户端节点

Field Summary
 ChannelWrapper channel
           
 String identity
           
 String nodeGroup
           
 
Constructor Summary
JobClientNode(String identity)
           
JobClientNode(String nodeGroup, String identity, ChannelWrapper channel)
           
 
Method Summary
 boolean equals(Object o)
           
 ChannelWrapper getChannel()
           
 String getIdentity()
           
 String getNodeGroup()
           
 int hashCode()
           
 void setChannel(ChannelWrapper channel)
           
 void setIdentity(String identity)
           
 void setNodeGroup(String nodeGroup)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeGroup

public String nodeGroup

identity

public String identity

channel

public ChannelWrapper channel
Constructor Detail

JobClientNode

public JobClientNode(String nodeGroup,
                     String identity,
                     ChannelWrapper channel)

JobClientNode

public JobClientNode(String identity)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getNodeGroup

public String getNodeGroup()

setNodeGroup

public void setNodeGroup(String nodeGroup)

getIdentity

public String getIdentity()

setIdentity

public void setIdentity(String identity)

getChannel

public ChannelWrapper getChannel()

setChannel

public void setChannel(ChannelWrapper channel)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2017. All rights reserved.