com.ecebs.rtd.enabler.types.request
Class QueryRequest

java.lang.Object
  extended by com.ecebs.rtd.enabler.types.request.QueryRequest
All Implemented Interfaces:
Request, Serializable

public class QueryRequest
extends Object
implements Request

Request to query the status of one or more registered requests. Note that currently only specifying one request is supported.

Author:
kyleb
See Also:
Serialized Form

Constructor Summary
QueryRequest(QueryMode mode, String id)
          Specify the request(s) to be queried, and a mode for the query.
 
Method Summary
 Outcome validate()
          Validate that the required fields have been set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryRequest

public QueryRequest(QueryMode mode,
                    String id)
Specify the request(s) to be queried, and a mode for the query. Note that currently only specifying one request is supported

Parameters:
mode - The mode for the query
requestId - Request ID to be queried
Method Detail

validate

public Outcome validate()
Description copied from interface: Request
Validate that the required fields have been set

Specified by:
validate in interface Request
Returns:
An outcome if the validation failed, else null


Copyright © 2013 Ecebs Ltd. All Rights Reserved.