|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sentilla.host.client.network.NetworkNode
public class NetworkNode
Field Summary | |
---|---|
private ArrayList<ApplicationYaml> |
apps
|
private String |
name
|
private Mac64Address |
nodeId
|
private static long |
serialVersionUID
|
private Long |
updateTime
|
Constructor Summary | |
---|---|
NetworkNode(String name,
Mac64Address nodeId)
|
Method Summary | |
---|---|
boolean |
addApplication(ApplicationYaml binary)
Add an application to this node. |
ArrayList |
getApplications()
Returns the list of app installed on this node. |
Long |
getLastUpdateTime()
Returns the last check-in time for this node in milliseconds. |
String |
getName()
Returns the name of this node. |
Mac64Address |
getNodeId()
Returns the node id of this node. |
boolean |
removeAplication(ApplicationYaml binary)
Remove an application from this node. |
void |
setLastUpdateTime(Long time)
Sets the last check-in time for this node in milliseconds. |
boolean |
setName(String name)
Sets the name of this node. |
boolean |
setNodeId(Long nodeId)
Sets the node id of this node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private String name
private Mac64Address nodeId
private ArrayList<ApplicationYaml> apps
private Long updateTime
Constructor Detail |
---|
public NetworkNode(String name, Mac64Address nodeId)
Method Detail |
---|
public String getName()
public boolean setName(String name)
public Mac64Address getNodeId()
public boolean setNodeId(Long nodeId)
public void setLastUpdateTime(Long time)
time
- public Long getLastUpdateTime()
See the description of the class Date
for
a discussion of slight discrepancies that may arise between
"computer time" and coordinated universal time (UTC).
Date
public ArrayList getApplications()
public boolean addApplication(ApplicationYaml binary)
public boolean removeAplication(ApplicationYaml binary)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |