Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / examples / Log / Basic / TLS_Client.h
blob054366ebebc75cf39ac4604b9ea5a28bcb7347ac
1 /* -*- C++ -*- */
3 // ============================================================================
4 /**
5 * @file TLS_Client.h
7 * An example of using the Basic_Logging_Service
9 * @author D A Hanvey (d.hanvey@qub.ac.uk)
11 // ============================================================================
13 #ifndef TLS_CLIENT_H
14 #define TLS_CLIENT_H
16 #include "orbsvcs/DsLogAdminC.h"
17 #include "orbsvcs/CosNamingC.h"
19 class TLS_Client
21 // = TITLE
22 // Telecom Log Service Client
23 // = DESCRIPTION
24 // This client demonstates how to use the log service.
25 public:
26 TLS_Client ();
27 ~TLS_Client ();
29 void init (int argc, ACE_TCHAR *argv []);
30 // Init the Client.
32 void run_tests ();
33 // Run the tests..
35 protected:
36 void init_ORB (int argc, ACE_TCHAR *argv []);
37 // Initializes the ORB.
39 void resolve_naming_service ();
40 // Try to get hold of a running naming service.
42 void resolve_TLS_Basic_factory ();
43 // Try to resolve the TLS factory from the Naming service.
45 // = Data Members
46 CORBA::ORB_var orb_;
47 // The ORB that we use.
49 CosNaming::NamingContext_var naming_context_;
50 // Handle to the name service.
52 DsLogAdmin::BasicLogFactory_var basic_log_factory_;
53 // The basic log factory from the Log Service.
57 #endif /* TLS_CLIENT_H */