blob: 8786b3f89ca3a1a2eb8dd863690c68b04e72fcae (
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
32
33
34
35
36
37
|
//
// $Id$
//
#ifndef SESSION_H
#define SESSION_H
#include /**/ "ace/pre.h"
#include "TestS.h"
/// Implement the Test::Session interface
class Session
: public virtual POA_Test::Session
{
public:
/// Constructor
Session (Test::Callback_ptr cb,
PortableServer::POA_ptr poa);
// = The skeleton methods
virtual void sample (Test::Timestamp the_timestamp)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual PortableServer::POA_ptr _default_POA (void)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
Test::Callback_var cb_;
PortableServer::POA_var poa_;
};
#include /**/ "ace/post.h"
#endif /* SESSION_H */
|