diff options
Diffstat (limited to 'TAO/examples/Borland/ReceiverImpl.h')
-rw-r--r-- | TAO/examples/Borland/ReceiverImpl.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/TAO/examples/Borland/ReceiverImpl.h b/TAO/examples/Borland/ReceiverImpl.h new file mode 100644 index 00000000000..bba6bf31db6 --- /dev/null +++ b/TAO/examples/Borland/ReceiverImpl.h @@ -0,0 +1,33 @@ +// $Id$ +//--------------------------------------------------------------------------- +#ifndef ReceiverImplH +#define ReceiverImplH +//--------------------------------------------------------------------------- +#include "ReceiverS.h" +//--------------------------------------------------------------------------- +class TReceiverImplementation : public POA_Receiver +{ +public: + // = Initialization and termination methods. + TReceiverImplementation (void); + // Constructor. + + ~TReceiverImplementation (void); + // Destructor. + + virtual void message (const char* msg) throw (CORBA::SystemException); + + virtual void shutdown (void) throw (CORBA::SystemException); + // Called when the chat server is going away. The client + // implementation should shutdown the chat client in response to + // this. + + void orb (CORBA::ORB_ptr o); + // Set the ORB pointer. + +private: + CORBA::ORB_var orb_; + // ORB pointer. +}; +//--------------------------------------------------------------------------- +#endif |