summaryrefslogtreecommitdiff
path: root/TAO/examples/Borland/ReceiverImpl.h
blob: 55a2b9b462b7ae6e06699f2f3dff3ac2aeb8907f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//---------------------------------------------------------------------------
#ifndef ReceiverImplH
#define ReceiverImplH
//---------------------------------------------------------------------------
#include "ReceiverS.h"
//---------------------------------------------------------------------------
class TReceiverImplementation : public POA_Receiver
{
public:
  // Constructor.
  TReceiverImplementation (void);

  // Destructor.
  ~TReceiverImplementation (void);

  virtual void message (const char* msg);

  virtual void shutdown (void);
  // 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