|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcommon.Device
public class Device
Implementation of the Device entity. It represents the device on which the Teamshare application is installed. It is associated with an user account. If another user logs in and links the device, the created Device object is different.
Field Summary | |
---|---|
ConnectivityInfo |
address
The device's connectivity information: IP address and port. |
long |
deviceID
The device's unique identifier, provided when the device is linked. |
String |
name
The device's name, selected by the user when linking the device. |
boolean |
online
The device's status: true if online, false if offline. |
String |
publickey
For security mechanisms, the devices may also have one ore more keys. |
Constructor Summary | |
---|---|
Device()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public long deviceID
public String name
public ConnectivityInfo address
ConnectivityInfo
has the role of a value object
that contains the connectivity attributes.
This field is non-null while the device in online and null while offline.
public boolean online
public String publickey
Constructor Detail |
---|
public Device()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |