summaryrefslogtreecommitdiff
path: root/orbsvcs/tests/AVStreams/Pluggable/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'orbsvcs/tests/AVStreams/Pluggable/server.h')
-rw-r--r--orbsvcs/tests/AVStreams/Pluggable/server.h85
1 files changed, 44 insertions, 41 deletions
diff --git a/orbsvcs/tests/AVStreams/Pluggable/server.h b/orbsvcs/tests/AVStreams/Pluggable/server.h
index bdb3544c767..7982865da72 100644
--- a/orbsvcs/tests/AVStreams/Pluggable/server.h
+++ b/orbsvcs/tests/AVStreams/Pluggable/server.h
@@ -1,20 +1,17 @@
/* -*- C++ -*- */
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/tests/AVStreams/Pluggable
-//
-// = FILENAME
-// ftp.h
-//
-// = DESCRIPTION
-// Ftp server to receive data
-//
-// = AUTHOR
-// Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
-//
-// ============================================================================
+//=============================================================================
+/**
+ * @file server.h
+ *
+ * $Id$
+ *
+ * Ftp server to receive data
+ *
+ *
+ * @author Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
+ */
+//=============================================================================
+
#include "orbsvcs/Naming/Naming_Client.h"
#include "orbsvcs/AV/AVStreams_i.h"
@@ -22,14 +19,16 @@
#include "orbsvcs/AV/Policy.h"
+/**
+ * @class FTP_Server_Callback
+ *
+ * @brief Defines a class for the server application callback.
+ *
+ * This class overides the methods of the TAO_AV_Callback so the
+ * AVStreams can make upcalls to the application.
+ */
class FTP_Server_Callback : public TAO_AV_Callback
{
- // = TITLE
- // Defines a class for the server application callback.
- //
- // = DESCRIPTION
- // This class overides the methods of the TAO_AV_Callback so the
- // AVStreams can make upcalls to the application.
public:
@@ -43,51 +42,55 @@ public:
int handle_destroy (void);
};
+/**
+ * @class FTP_Server_StreamEndPoint
+ *
+ * @brief Defines the aplication stream endpoint
+ *
+ * This is the class that overrides the tao_server_enpodint to handle
+ * pre and post connect processing.
+ */
class FTP_Server_StreamEndPoint : public TAO_Server_StreamEndPoint
{
- // = TITLE
- // Defines the aplication stream endpoint
- //
- // = DESCRIPTION
- // This is the class that overrides the tao_server_enpodint to handle
- // pre and post connect processing.
public:
// Create the server application callback.
int get_callback (const char *flowname,
TAO_AV_Callback *&callback);
private:
+ /// reference to the server application callback.
FTP_Server_Callback callback_;
- // reference to the server application callback.
};
+/**
+ * @class Server
+ *
+ * @brief Defines the server application class.
+ * = DESCRIPOTION
+ * The actual server progarm that acts as the ftp server that receives data
+ * sent by the ftp client.
+ */
class Server
{
- // = TITLE
- // Defines the server application class.
- //
- // = DESCRIPOTION
- // The actual server progarm that acts as the ftp server that receives data
- // sent by the ftp client.
public:
+ /// Constructor
Server (void);
- // Constructor
+ /// Deestructor.
~Server (void);
- // Deestructor.
+ /// Initialize data components.
int init (int argc,
ACE_TCHAR *argv[]);
- // Initialize data components.
protected:
+ /// The Naming Service Client.
TAO_Naming_Client my_naming_client_;
- // The Naming Service Client.
+ /// The endpoint reacxtive strategy.
TAO_AV_Endpoint_Reactive_Strategy_B
<FTP_Server_StreamEndPoint,TAO_VDev,AV_Null_MediaCtrl> reactive_strategy_;
- // The endpoint reacxtive strategy.
+ /// The server MMDevice.
TAO_MMDevice *mmdevice_;
- // The server MMDevice.
};