00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ACE_LOCAL_SOCK_DGRAM_H
00016 #define ACE_LOCAL_SOCK_DGRAM_H
00017 #include "ace/pre.h"
00018
00019 #include "ace/config-all.h"
00020
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif
00024
00025 #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS)
00026
00027 #include "ace/SOCK_Dgram.h"
00028 #include "ace/LSOCK.h"
00029
00030
00031
00032
00033
00034
00035 class ACE_Export ACE_LSOCK_Dgram : public ACE_SOCK_Dgram, public ACE_LSOCK
00036 {
00037 public:
00038
00039
00040 ACE_LSOCK_Dgram (void);
00041
00042
00043 ACE_LSOCK_Dgram (const ACE_Addr &local,
00044 int protocol_family = PF_UNIX,
00045 int protocol = 0);
00046
00047
00048 int open (const ACE_Addr &local,
00049 int protocol_family = PF_UNIX,
00050 int protocol = 0);
00051
00052
00053 ACE_HANDLE get_handle (void) const;
00054
00055
00056 void set_handle (ACE_HANDLE);
00057
00058
00059 void dump (void) const;
00060
00061
00062 ACE_ALLOC_HOOK_DECLARE;
00063 };
00064
00065 #if !defined (ACE_LACKS_INLINE_FUNCTIONS)
00066 #include "ace/LSOCK_Dgram.i"
00067 #endif
00068
00069 #endif
00070 #include "ace/post.h"
00071 #endif