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

mdfs::MServer Class Reference

MServer implements a remote server link A MServer contains a MPNL::MTCPClient (mdfs::MServer::TCPClient) that is connected to a mdfs::MDFSTCPServer. More...

#include <MDistributedFileSystem.h>

Inheritance diagram for mdfs::MServer:

mdfs::MDFSPeerBase List of all members.

Public Member Functions

 MServer (const std::string &host, int port, MDFS *dfs)
 ~MServer ()
int Send (const std::string &msg)
bool Connect (int timeout=1000)

Public Attributes

TIME LastConnection

Protected Attributes

MDFSDFS
MDFSTCPClientTCPClient
TIME LastFailedConnection

Friends

class MDFS

Detailed Description

MServer implements a remote server link A MServer contains a MPNL::MTCPClient (mdfs::MServer::TCPClient) that is connected to a mdfs::MDFSTCPServer.


Constructor & Destructor Documentation

MServer::MServer const std::string &  host,
int  port,
MDFS dfs
 

MServer::~MServer  ) 
 


Member Function Documentation

bool MServer::Connect int  timeout = 1000  ) 
 

int MServer::Send const std::string &  msg  )  [virtual]
 

Implements mdfs::MDFSPeerBase.


Friends And Related Function Documentation

friend class MDFS [friend]
 


Member Data Documentation

MDFS* mdfs::MServer::DFS [protected]
 

TIME mdfs::MServer::LastConnection
 

TIME mdfs::MServer::LastFailedConnection [protected]
 

MDFSTCPClient* mdfs::MServer::TCPClient [protected]
 


The documentation for this class was generated from the following files:


MDFS SourceForge project page and download

SourceForge.net Logo

Generated on Sat Jan 3 03:14:20 2004 for MDFS by doxygen1.3.5