#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.
| OmniEvents::Callback::Callback | ( | ) | [inline] |
Definition at line 53 of file Callback.h.
| OmniEvents::Callback::~Callback | ( | ) | [virtual] |
Definition at line 257 of file Orb.cc.
References _magic, OmniEvents::Orb::cancelCallback(), and OmniEvents::Orb::inst().
| virtual void OmniEvents::Callback::callback | ( | CORBA::Request_ptr | req | ) | [pure virtual] |
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.
| bool OmniEvents::Callback::isValid | ( | ) | const [inline] |
const long OmniEvents::Callback::_goodMagic = 0xCa11ab1e [static, private] |
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().
long OmniEvents::Callback::_magic [private] |
1.4.7