summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/jaws3/Datagram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/JAWS3/jaws3/Datagram.cpp')
-rw-r--r--ACE/apps/JAWS3/jaws3/Datagram.cpp86
1 files changed, 86 insertions, 0 deletions
diff --git a/ACE/apps/JAWS3/jaws3/Datagram.cpp b/ACE/apps/JAWS3/jaws3/Datagram.cpp
new file mode 100644
index 00000000000..3849e7afd1d
--- /dev/null
+++ b/ACE/apps/JAWS3/jaws3/Datagram.cpp
@@ -0,0 +1,86 @@
+// $Id$
+
+
+#ifndef JAWS_BUILD_DLL
+#define JAWS_BUILD_DLL
+#endif /*JAWS_BUILD_DLL*/
+
+#include "jaws3/Datagram.h"
+
+
+JAWS_Datagram::JAWS_Datagram (JAWS_Datagram_Impl *impl)
+ : impl_ (impl)
+{
+}
+
+void
+JAWS_Datagram::accept ( const ACE_Addr &local_sap
+ , ACE_SOCK_Dgram &new_dgram
+ , JAWS_Event_Completer *completer
+ , void *act
+ )
+{
+ this->impl_->accept (local_sap, new_dgram, completer, act);
+}
+
+void
+JAWS_Datagram::connect ( const ACE_Addr &remote_sap
+ , ACE_SOCK_Dgram &new_dgram
+ , JAWS_Event_Completer *completer
+ , void *act
+ )
+{
+ this->impl_->connect (remote_sap, new_dgram, completer, act);
+}
+
+void
+JAWS_Datagram::connect ( const ACE_Addr &remote_sap
+ , ACE_SOCK_Dgram &new_dgram
+ , const ACE_Addr &local_sap
+ , JAWS_Event_Completer *completer
+ , void *act
+ )
+{
+ this->impl_->connect (remote_sap, new_dgram, local_sap, completer, act);
+}
+
+void
+JAWS_Datagram::accept ( const ACE_Addr &local_sap
+ , ACE_SOCK_Dgram &new_dgram
+ , JAWS_Event_Completer *completer
+ , const ACE_Time_Value &timeout
+ , void *act
+ )
+{
+ this->impl_->accept (local_sap, new_dgram, completer, timeout, act);
+}
+
+void
+JAWS_Datagram::connect ( const ACE_Addr &remote_sap
+ , ACE_SOCK_Dgram &new_dgram
+ , JAWS_Event_Completer *completer
+ , const ACE_Time_Value &timeout
+ , void *act
+ )
+{
+ this->impl_->connect (remote_sap, new_dgram, completer, timeout, act);
+}
+
+void
+JAWS_Datagram::connect ( const ACE_Addr &remote_sap
+ , ACE_SOCK_Dgram &new_dgram
+ , const ACE_Addr &local_sap
+ , JAWS_Event_Completer *completer
+ , const ACE_Time_Value &timeout
+ , void *act
+ )
+{
+ this->impl_->connect ( remote_sap
+ , new_dgram
+ , local_sap
+ , completer
+ , timeout
+ , act
+ );
+}
+