3 // ============================================================================
7 * An example of using the Basic_Logging_Service
9 * @author D A Hanvey (d.hanvey@qub.ac.uk)
11 // ============================================================================
16 #include "orbsvcs/DsLogAdminC.h"
17 #include "orbsvcs/CosNamingC.h"
22 // Telecom Log Service Client
24 // This client demonstates how to use the log service.
29 void init (int argc
, ACE_TCHAR
*argv
[]);
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.
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 */