2 #ifndef COLLOCATED_SERVER_TASK_H
3 #define COLLOCATED_SERVER_TASK_H
5 #include /**/ "ace/pre.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
15 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
16 class ACE_Manual_Event
;
17 ACE_END_VERSIONED_NAMESPACE_DECL
19 /// Implement a Task to run the server in a single thread
20 class Server_Task
: public ACE_Task_Base
24 Server_Task (const ACE_TCHAR
*output
,
27 ACE_Thread_Manager
*thr_mgr
);
29 /// Thread entry point
33 /// Output file for IOR
34 const ACE_TCHAR
*output_
;
36 /// Manual event to wake up the main thread to create a client
38 ACE_Manual_Event
&me_
;
43 #include /**/ "ace/post.h"
45 #endif /* COLLOCATED_SERVER_TASK_H */