summaryrefslogtreecommitdiff
path: root/ace/SOCK_CODgram.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
commita5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch)
treebcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/SOCK_CODgram.h
downloadATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz
Initial revision
Diffstat (limited to 'ace/SOCK_CODgram.h')
-rw-r--r--ace/SOCK_CODgram.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/ace/SOCK_CODgram.h b/ace/SOCK_CODgram.h
new file mode 100644
index 00000000000..008a5a6f60e
--- /dev/null
+++ b/ace/SOCK_CODgram.h
@@ -0,0 +1,55 @@
+/* -*- C++ -*- */
+// $Id$
+
+
+// ============================================================================
+//
+// = LIBRARY
+// ace
+//
+// = FILENAME
+// SOCK_CODgram.h
+//
+// = AUTHOR
+// Doug Schmidt
+//
+// ============================================================================
+
+#if !defined (ACE_SOCK_CODGRAM_H)
+#define ACE_SOCK_CODGRAM_H
+
+#include "ace/SOCK_IO.h"
+#include "ace/Addr.h"
+
+class ACE_Export ACE_SOCK_CODgram : public ACE_SOCK_IO
+ // = TITLE
+ // Defines the member functions for the ACE_SOCK connected
+ // datagram abstraction.
+{
+public:
+ // = Initialization methods.
+ ACE_SOCK_CODgram (void);
+ // Default constructor.
+
+ ACE_SOCK_CODgram (const ACE_Addr &remote_sap,
+ const ACE_Addr &local_sap = ACE_Addr::sap_any,
+ int protocol_family = PF_INET,
+ int protocol = 0);
+ // Initiate a connected dgram.
+
+ int open (const ACE_Addr &remote_sap,
+ const ACE_Addr &local_sap = ACE_Addr::sap_any,
+ int protocol_family = PF_INET,
+ int protocol = 0);
+ // Initiate a connected dgram.
+
+ void dump (void) const;
+ // Dump the state of an object.
+
+ ACE_ALLOC_HOOK_DECLARE;
+ // Declare the dynamic allocation hooks.
+};
+
+#include "ace/SOCK_CODgram.i"
+
+#endif /* ACE_SOCK_CODGRAM_H */