Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

CommObject.h

Go to the documentation of this file.
00001 //////////////////////////////////////////////////////////////////////////////////////////////////
00002 /*! \file CommObject.h
00003 *  \brief Provides the wrapper and interface to communications objects.
00004 *  \author $Author: cakinli $
00005 *  \version $Revision: 1.2 $
00006 *  \date    $Date: 2005/02/25 18:40:52 $
00007 *//////////////////////////////////////////////////////////////////////////////////////////////////
00008 /*! 
00009 */
00010 //////////////////////////////////////////////////////////////////////////////////////////////////
00011 
00012 #ifndef __SSSL_COMMOBJECT_H__
00013 #define __SSSL_COMMOBJECT_H__
00014 
00015 // Netxx Includes
00016 #include <Netxx/Netbuf.h>
00017 #include <Netxx/Stream.h>
00018 #include <Netxx/Timeout.h>
00019 using namespace Netxx;
00020 
00021 #include <Comm/Message.h>
00022 // Standard Includes
00023 #include <string>
00024 #include <iostream>
00025 #include <exception>
00026 using namespace std;
00027 
00028 class CommObject  
00029 {
00030 public:
00031         // Constructors/Deconstructors
00032         CommObject(const Netxx::Stream& client);
00033         virtual ~CommObject();
00034 
00035         // Facilitators
00036         void SendMessage(const Message& _outgoingMessage);
00037 private:
00038 
00039    // Data Members
00040     Netxx::Stream m_Client;
00041     Netxx::Netbuf<1024> m_Clientsbuf;
00042     std::iostream m_Stream;
00043 };
00044 
00045 #endif
00046 // Do not change the comments below - they will be added automatically by CVS
00047 /*****************************************************************************
00048 *       $Log: CommObject.h,v $
00049 *       Revision 1.2  2005/02/25 18:40:52  cakinli
00050 *       Created Makefiles and organized include directives to reduce the number of
00051 *       include paths.  Reorganized libraries so that there is now one per source
00052 *       directory.  Each directory is self-contained in terms of its Makefile.
00053 *       The local Makefile in each directory includes src/config.mk, which has all
00054 *       the definitions and general and pattern rules.  So at most, to see what
00055 *       goes into building a target, a person needs to examine the Makefile in
00056 *       that directory, and ../config.mk.
00057 *       
00058 *       Revision 1.1.1.1  2003/06/06 18:44:15  simpliciter
00059 *       Initial submission.
00060 *       
00061 *
00062 ******************************************************************************/

Generated on Wed Sep 5 12:54:18 2007 for DSACSS Operational Code by  doxygen 1.3.9.1