2 /* Handle connections from local UNIX ACE_FIFO */
3 /* Read from a well known ACE_FIFO and write to stdout. */
5 #ifndef _HANDLE_L_FIFO_H
6 #define _HANDLE_L_FIFO_H
8 #include "ace/Service_Config.h"
9 #include "ace/Reactor.h"
11 #if !defined (ACE_LACKS_PRAGMA_ONCE)
13 #endif /* ACE_LACKS_PRAGMA_ONCE */
15 #include "ace/Service_Types.h"
16 #include "ace/FIFO_Recv_Msg.h"
17 #include "ace/Log_Msg.h"
18 #include "ace/svc_export.h"
20 class ACE_Svc_Export Handle_L_FIFO
: public ACE_Service_Object
, public ACE_FIFO_Recv_Msg
24 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
25 virtual int info (ACE_TCHAR
**, size_t) const;
29 int open (const ACE_TCHAR
*rendezvous_fifo
);
30 virtual ACE_HANDLE
get_handle () const;
31 virtual int handle_input (ACE_HANDLE fd
);
32 virtual int handle_close (ACE_HANDLE fd
, ACE_Reactor_Mask
);
34 static const ACE_TCHAR
*DEFAULT_RENDEZVOUS
;
37 extern ACE_Service_Object_Type lf
;
39 #if defined (__ACE_INLINE__)
40 #define ACE_INLINE inline
41 #include "Handle_L_FIFO.inl"
44 #endif /* __ACE_INLINE__ */
46 #endif /* _HANDLE_L_FIFO_H */