Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / Security / ParticipatingApp / Messenger_i.h
blobfebd241327e1a13756d212184cac0ba2cfdbd789
1 /* -*- C++ -*- */
3 #ifndef MESSENGERI_H_
4 #define MESSENGERI_H_
6 // This is needed on LynxOS 4.0 with GCC 2.95
7 #include "ace/OS_NS_stdio.h"
9 #include <openssl/ssl.h>
10 #include <openssl/x509.h>
11 #include "orbsvcs/SecurityC.h"
12 #include "orbsvcs/SSLIOPC.h"
14 #include "MessengerS.h"
16 class Messenger_i : public virtual POA_Messenger
18 public:
19 Messenger_i (
20 CORBA::ORB_ptr orb,
21 SSLIOP::Current_ptr ssliop_current
24 virtual ~Messenger_i (void);
26 virtual CORBA::Boolean send_message (
27 const char * user_name,
28 const char * subject,
29 char *& message
32 virtual void shutdown (
33 const char * user_name
36 protected:
37 CORBA::ORB_var orb_;
38 SSLIOP::Current_var ssliop_current_;
41 #endif /* MESSENGERI_H_ */