#include <Callback.h>
Inheritance diagram for OmniEvents::Callback:
Public Member Functions | |
virtual void | callback (CORBA::Request_ptr req)=0 |
Invoked when the CORBA::Request has returned. | |
Callback () | |
bool | isValid () const |
virtual | ~Callback () |
Private Attributes | |
long | _magic |
Static Private Attributes | |
static const long | _goodMagic = 0xCa11ab1e |
This value is only set equal to _goodMagic while the object is alive. |
Implementations must override the callback() method. Only call callback() if you FIRST call isValid() and it returns TRUE.
Definition at line 45 of file Callback.h.
|
Definition at line 53 of file Callback.h. |
|
Definition at line 257 of file Orb.cc. References _magic, OmniEvents::Orb::cancelCallback(), and OmniEvents::Orb::inst(). |
|
Invoked when the CORBA::Request has returned. This method is never invoked when req has returned an exception. Implemented in OmniEvents::ProxyPushConsumer_i::Connection, and OmniEvents::ProxyPushSupplier_i. |
|
Definition at line 55 of file Callback.h. References _goodMagic, and _magic. |
|
This value is only set equal to _goodMagic while the object is alive. Once the destructor has been called, any call to isValid() will return FALSE. Definition at line 65 of file Callback.h. Referenced by isValid(). |
|
Definition at line 60 of file Callback.h. Referenced by isValid(), and ~Callback(). |