2 /* Handle connections from local UNIX ACE_SPIPE */
3 /* Read from a well known ACE_SPIPE and write to stdout. */
5 #ifndef _HANDLE_L_SPIPE_H
6 #define _HANDLE_L_SPIPE_H
8 #include "ace/Service_Config.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 #include "ace/Service_Types.h"
15 #include "ace/SPIPE_Acceptor.h"
16 #include "ace/Log_Msg.h"
17 #include "ace/svc_export.h"
19 #if defined (ACE_HAS_STREAM_PIPES)
21 class ACE_Svc_Export Handle_L_SPIPE
: public ACE_Service_Object
, public ACE_SPIPE_Acceptor
25 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
26 virtual int info (ACE_TCHAR
**, size_t) const;
30 int open (const ACE_SPIPE_Addr
&rendezvous_spipe
);
31 virtual int get_handle () const;
32 virtual int handle_input (int fd
);
33 virtual int handle_close (int fd
, ACE_Reactor_Mask
);
35 static const ACE_TCHAR
*DEFAULT_RENDEZVOUS
;
38 extern ACE_Service_Object_Type lsp
;
40 #if defined (__ACE_INLINE__)
41 #define ACE_INLINE inline
42 #include "Handle_L_SPIPE.inl"
45 #endif /* __ACE_INLINE__ */
47 #endif /* _HANDLE_L_SPIPE_H */
50 #endif /* ACE_HAS_STREAM_PIPES */