2 #ifndef COLLOCATED_SERVER_TASK_H
3 #define COLLOCATED_SERVER_TASK_H
4 #include /**/ "ace/pre.h"
7 #include "ace/Manual_Event.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
16 /// Implement a Task to run the server in a single thread
17 class Server_Task
: public ACE_Task_Base
21 Server_Task (CORBA::ORB_ptr sorb
,
22 ACE_Manual_Event
&cond
,
23 ACE_Thread_Manager
*thr_mgr
);
25 /// Thread entry point
28 //Test::Roundtrip_prt get_reference ();
29 Test::Roundtrip
* get_reference ();
33 ACE_Manual_Event
&cond_
;
34 /// Manual event to wake up the main thread to create a client
38 Test::Roundtrip_var rt_var_
;
41 #include /**/ "ace/post.h"
42 #endif /* COLLOCATED_SERVER_TASK_H */