network
Class DiscoveryServiceRequest

java.lang.Object
  extended by 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.


Field Summary
 ConnectivityInfo connectivityInfo
          It is used only when publishing a device, otherwise is null.
 String deviceID
          The deviceID of the device for which the request is made.
 DSRequestType request
          The type of request that needs to be sent by the device to the DiscoveryService, as defined by DSRequestType.
 
Constructor Summary
DiscoveryServiceRequest()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

DiscoveryServiceRequest

public DiscoveryServiceRequest()