|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemAdvertisement
This interface provides system characteristics i.g. HW/SW configuration, CPU load, etc...
| Field Summary | |
|---|---|
static String |
hwarchTag
|
static String |
hwvendorTag
|
static String |
idTag
|
static String |
ipTag
|
static String |
nameTag
|
static String |
OSarchTag
|
static String |
OSNameTag
|
static String |
OSVersionTag
|
static long |
serialVersionUID
|
| Method Summary | |
|---|---|
void |
addEndpointAddress(String value)
Sets the network interface's address in the form of a URI |
Map<String,String> |
getCustomTags()
|
String |
getCustomTagValue(String tagName)
|
List<String> |
getEndpointAddresses()
Gets the address of the network interface in the form of URI |
String |
getHWArch()
Gets the hWArch attribute of the SystemAdvertisement object |
String |
getHWVendor()
Gets the hWVendor attribute of the SystemAdvertisement object |
PeerID |
getID()
returns the id of the device |
String |
getName()
Gets the name attribute of the SystemAdvertisement object |
String |
getOSArch()
Gets the OSArch attribute of the SystemAdvertisement object |
String |
getOSName()
Gets the OSName attribute of the SystemAdvertisement object |
String |
getOSVersion()
Gets the OSVersion attribute of the SystemAdvertisement object |
List<URI> |
getURIs()
|
void |
setCustomTag(String tag,
String value)
|
void |
setCustomTags(Map<String,String> tags)
|
void |
setEndpointAddresses(List<String> endpoints)
API for setting the IP addresses for all the network interfaces |
void |
setHWArch(String hwarch)
Sets the hWArch attribute of the SystemAdvertisement object |
void |
setHWVendor(String hwvendor)
Sets the hWVendor attribute of the SystemAdvertisement object |
void |
setID(PeerID id)
sets the unique id |
void |
setName(String name)
Sets the name attribute of the DeviceAdvertisement object |
void |
setOSArch(String osarch)
Sets the OSArch attribute of the SystemAdvertisement object |
void |
setOSName(String osname)
Sets the oSName attribute of the SystemAdvertisement object |
void |
setOSVersion(String osversion)
Sets the oSVersion attribute of the SystemAdvertisement object |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final long serialVersionUID
static final String OSNameTag
static final String OSVersionTag
static final String OSarchTag
static final String hwarchTag
static final String hwvendorTag
static final String idTag
static final String ipTag
static final String nameTag
| Method Detail |
|---|
void setHWArch(String hwarch)
hwarch - The new hWArch valuevoid setOSArch(String osarch)
osarch - The new hWArch valuevoid setHWVendor(String hwvendor)
hwvendor - The new hWVendor valuevoid setID(PeerID id)
id - The idvoid addEndpointAddress(String value)
value - new uri (tcp://host:port)void setEndpointAddresses(List<String> endpoints)
endpoints - endpoint addressesvoid setName(String name)
name - The new name valuevoid setOSName(String osname)
osname - The new oSName valuevoid setOSVersion(String osversion)
osversion - The new oSVersion value
void setCustomTag(String tag,
String value)
void setCustomTags(Map<String,String> tags)
String getHWArch()
String getOSArch()
String getHWVendor()
PeerID getID()
List<String> getEndpointAddresses()
List<URI> getURIs()
String getName()
String getOSName()
String getOSVersion()
String getCustomTagValue(String tagName)
throws NoSuchFieldException
NoSuchFieldExceptionMap<String,String> getCustomTags()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||