Previous Table of Contents Next


22.9 Generic Poller Value

   The generic base Poller valuetype can be queried to obtain the status of a potentially outstanding request. So that it can be registered in a CORBA::PollableSet, it derives from the abstract valuetype CORBA::Pollable. The inherited Pollable is_ready returns the value TRUE if and only if a reply is currently available for the outstanding request. If it returns the value FALSE, the reply has not yet been returned from the target. This operation raises the system exception OBJECT_NOT_EXIST if the reply has already been obtained by some client at the time of the query.

   The Poller has the following definition:

   module Messaging {

   valuetype Poller : CORBA::Pollable { readonly attribute Object operation_target; readonly attribute string operation_name;

   attribute ReplyHandler associated_handler; readonly attribute boolean is_from_poller;

   Object target;

string op_name;
};
};