public class ChannelWrapper extends Object
Constructor and Description |
---|
ChannelWrapper(io.netty.channel.Channel channel,
com.lts.job.common.cluster.NodeType nodeType,
String nodeGroup,
String identity) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
io.netty.channel.Channel |
getChannel() |
String |
getIdentity() |
String |
getNodeGroup() |
com.lts.job.common.cluster.NodeType |
getNodeType() |
int |
hashCode() |
boolean |
isClosed() |
boolean |
isOpen() |
void |
setChannel(io.netty.channel.Channel channel) |
void |
setIdentity(String identity) |
void |
setNodeGroup(String nodeGroup) |
void |
setNodeType(com.lts.job.common.cluster.NodeType nodeType) |
String |
toString() |
public io.netty.channel.Channel getChannel()
public void setChannel(io.netty.channel.Channel channel)
public com.lts.job.common.cluster.NodeType getNodeType()
public void setNodeType(com.lts.job.common.cluster.NodeType nodeType)
public String getNodeGroup()
public void setNodeGroup(String nodeGroup)
public String getIdentity()
public void setIdentity(String identity)
public boolean isOpen()
public boolean isClosed()
Copyright © 2014. All Rights Reserved.