public class IMCNode
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress() |
int |
getImcId() |
long |
getLast_heard() |
IMCMessage |
getLastAnnounce() |
int |
getPort() |
java.lang.String |
getSysName() |
java.lang.String |
getSysType() |
java.lang.String |
getTcpAddress() |
int |
getTcpPort() |
boolean |
isConnected() |
boolean |
isPeer() |
void |
setAddress(java.lang.String address) |
void |
setAnnounce(Announce announce) |
void |
setPeer(boolean peer) |
void |
setPort(int port) |
void |
setTcpAddress(java.lang.String address) |
void |
setTcpPort(int port) |
public IMCNode(Announce announceMessage)
public int getImcId()
public java.lang.String getSysName()
public java.lang.String getSysType()
public long getLast_heard()
public IMCMessage getLastAnnounce()
public void setAnnounce(Announce announce)
public java.lang.String getAddress()
public void setAddress(java.lang.String address)
public void setTcpAddress(java.lang.String address)
public int getPort()
public void setPort(int port)
public void setTcpPort(int port)
public int getTcpPort()
public java.lang.String getTcpAddress()
public boolean isPeer()
public void setPeer(boolean peer)
peer
- the peer to setpublic boolean isConnected()