00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef ACE_FIFO_SEND_MSG_H
00015 #define ACE_FIFO_SEND_MSG_H
00016 #include "ace/pre.h"
00017
00018 #include "ace/FIFO_Send.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024
00025
00026
00027
00028
00029
00030 class ACE_Export ACE_FIFO_Send_Msg : public ACE_FIFO_Send
00031 {
00032 public:
00033
00034
00035 ACE_FIFO_Send_Msg (void);
00036
00037
00038 ACE_FIFO_Send_Msg (const ACE_TCHAR *rendezvous,
00039 int flags = O_WRONLY,
00040 int perms = ACE_DEFAULT_FILE_PERMS,
00041 LPSECURITY_ATTRIBUTES sa = 0);
00042
00043
00044 int open (const ACE_TCHAR *rendezvous,
00045 int flags = O_WRONLY,
00046 int perms = ACE_DEFAULT_FILE_PERMS,
00047 LPSECURITY_ATTRIBUTES sa = 0);
00048
00049
00050 ssize_t send (const ACE_Str_Buf &msg);
00051
00052
00053 ssize_t send (const void *buf, size_t len);
00054
00055 #if defined (ACE_HAS_STREAM_PIPES)
00056
00057 ssize_t send (const ACE_Str_Buf *data,
00058 const ACE_Str_Buf *cntl = 0,
00059 int flags = 0);
00060
00061
00062 ssize_t send (int band,
00063 const ACE_Str_Buf *data,
00064 const ACE_Str_Buf *cntl = 0,
00065 int flags = MSG_BAND);
00066 #endif
00067
00068
00069 void dump (void) const;
00070
00071
00072 ACE_ALLOC_HOOK_DECLARE;
00073 };
00074
00075 #if !defined (ACE_LACKS_INLINE_FUNCTIONS)
00076 #include "ace/FIFO_Send_Msg.i"
00077 #endif
00078
00079 #include "ace/post.h"
00080 #endif