blob: 94f1e3b342738e837b3c2c1e773393b1bbb68abb (
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
38
39
40
41
42
43
44
45
46
47
|
//
// $Id$
//
#ifndef LONGUPCALLS_MANAGER_HANDLER_H
#define LONGUPCALLS_MANAGER_HANDLER_H
#include "TestS.h"
#include "ace/Task.h"
#if defined (_MSC_VER)
# if (_MSC_VER >= 1200)
# pragma warning(push)
# endif /* _MSC_VER >= 1200 */
# pragma warning (disable : 4250)
#endif /* _MSC_VER */
class Manager_Handler
: public virtual POA_Test::AMI_ManagerHandler
, public virtual PortableServer::RefCountServantBase
{
public:
Manager_Handler (Test::Manager_ptr manager,
Test::Controller_ptr controller);
// Constructor
// = The skeleton methods
virtual void start_workers (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void start_workers_excep (Test::AMI_ManagerExceptionHolder*,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
Test::Manager_var manager_;
// The manager to reissue the request from the context of the
// upcall
Test::Controller_var controller_;
// The controller
};
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma warning(pop)
#endif /* _MSC_VER */
#endif /* LONGUPCALLS_MANAGER_HANDLER_H */
|