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