summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/AV/sfp.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-11-10 06:47:24 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-11-10 06:47:24 +0000
commit1b6be8f5e2e7e445aaf70a493e04e7a6629614ff (patch)
tree2b80a1f74f8eefbb01501abb551e57aefbc240fd /TAO/orbsvcs/orbsvcs/AV/sfp.h
parent9f6a1de034a521f9aebc481639856fcfd8d0620d (diff)
downloadATCD-1b6be8f5e2e7e445aaf70a493e04e7a6629614ff.tar.gz
ChangeLogTag:Wed Nov 9 22:34:24 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/AV/sfp.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/sfp.h32
1 files changed, 19 insertions, 13 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/sfp.h b/TAO/orbsvcs/orbsvcs/AV/sfp.h
index 1885a633231..473d7d98580 100644
--- a/TAO/orbsvcs/orbsvcs/AV/sfp.h
+++ b/TAO/orbsvcs/orbsvcs/AV/sfp.h
@@ -15,22 +15,28 @@
#include /**/ "ace/pre.h"
#include "orbsvcs/AV/AV_export.h"
-#include "orbsvcs/sfpC.h"
-#include "ace/SOCK_Dgram.h"
-#include "ace/INET_Addr.h"
-#include "tao/CDR.h"
#include "Policy.h"
#include "MCast.h"
#include "AVStreams_i.h"
#include "UDP.h"
+#include "orbsvcs/sfpC.h"
+
+#include "tao/CDR.h"
+
+#include "ace/SOCK_Dgram.h"
+#include "ace/INET_Addr.h"
+
+
#define TAO_SFP_MAGIC_NUMBER_LEN 4
#define TAO_SFP_MESSAGE_TYPE_OFFSET 5
#define TAO_SFP_WRITEV_MAX 128
#define TAO_SFP_MAX_PACKET_SIZE ACE_MAX_DGRAM_SIZE
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
/**
* @class TAO_SFP_Fragment_Node
* @brief
@@ -38,9 +44,7 @@
class TAO_SFP_Fragment_Node
{
public:
- TAO_SFP_Fragment_Node (void)
- :data_ (0)
- {}
+ TAO_SFP_Fragment_Node (void) : data_ (0) {}
flowProtocol::fragment fragment_info_;
ACE_Message_Block *data_;
friend bool operator< (const TAO_SFP_Fragment_Node& left,
@@ -103,14 +107,14 @@ class TAO_AV_Export TAO_SFP_Base
{
public:
// default arguments to pass to use for the ORB
- static const char *TAO_SFP_ORB_ARGUMENTS;
+ static const char TAO_SFP_ORB_ARGUMENTS[];
// SFP magic numbers
- static const char *TAO_SFP_MAGIC_NUMBER;
- static const char *TAO_SFP_FRAGMENT_MAGIC_NUMBER;
- static const char *TAO_SFP_START_MAGIC_NUMBER;
- static const char *TAO_SFP_CREDIT_MAGIC_NUMBER;
- static const char *TAO_SFP_STARTREPLY_MAGIC_NUMBER;
+ static const char TAO_SFP_MAGIC_NUMBER[];
+ static const char TAO_SFP_FRAGMENT_MAGIC_NUMBER[];
+ static const char TAO_SFP_START_MAGIC_NUMBER[];
+ static const char TAO_SFP_CREDIT_MAGIC_NUMBER[];
+ static const char TAO_SFP_STARTREPLY_MAGIC_NUMBER[];
// SFP version 1.0
static const unsigned char TAO_SFP_MAJOR_VERSION;
@@ -293,6 +297,8 @@ public:
TAO_AV_Transport *transport);
};
+TAO_END_VERSIONED_NAMESPACE_DECL
+
ACE_STATIC_SVC_DECLARE (TAO_AV_SFP_Flow_Factory)
ACE_FACTORY_DECLARE (TAO_AV, TAO_AV_SFP_Flow_Factory)