|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.cmw.rda.client.Request
public abstract class Request
Allows a client to access information from the calling scope while in the scope of the ReplyHandler callback methods. A Request object also allows the caller to examine a call execution state.
A Request object holds values of all the call parameters, including the
ReplyHandler to which results of the operation has to be reported.
A Request is PENDING
if it has been successfully sent to
a device server and the RDA client is awaiting the server reply.
When a reply arrives, it is matched with the request that originated the
transaction and results of the operation are delivered to the caller via
the request's ReplyHandler. The exact behaviour in this phase depends on
the concrete request class: see
GetRequest
, SetRequest
and SubscriptionRequest
for more details.
ReplyHandler
Method Summary | |
---|---|
Data |
getContext()
Returns the context data or null , as specified in the
call that created this request. |
String |
getCycleSelector()
Returns the cycle selector string or null , as specified in the
call that created this request. |
DeviceHandle |
getDeviceHandle()
Returns the DeviceHandle on which this request has been created. |
String |
getPropertyName()
Returns the property name specified in the call that created this request. |
boolean |
isPending()
Returns true if this Request is PENDING . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isPending()
true
if this Request is PENDING
.
public DeviceHandle getDeviceHandle()
public String getPropertyName()
public String getCycleSelector()
null
, as specified in the
call that created this request.
public Data getContext()
null
, as specified in the
call that created this request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |