network
Class DiscoveryServiceRequest
java.lang.Object
network.DiscoveryServiceRequest
public class DiscoveryServiceRequest
- extends Object
Implements a value-object type component, which is used for communication between a device and the
Discovery Service. It represents the type of request and its content.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deviceID
public String deviceID
- The deviceID of the device for which the request is made. It can also be the same device that
sends the request (e.g. in case of publish/unpublish).
request
public DSRequestType request
- The type of request that needs to be sent by the device to the DiscoveryService, as defined by
DSRequestType.
connectivityInfo
public ConnectivityInfo connectivityInfo
- It is used only when publishing a device, otherwise is null.
DiscoveryServiceRequest
public DiscoveryServiceRequest()