#include <MPNLBase.h>
Inheritance diagram for MPNL::MPNLBase:
Public Member Functions | |
MPNLBase () | |
virtual | ~MPNLBase () |
virtual void | SetMode (MMode m)=0 |
virtual void | SetPrefixLen (int len)=0 |
virtual void | SetStream (std::iostream *s)=0 |
virtual bool | OnConnection (MSocket *s)=0 |
return false to reject the connection | |
virtual void | OnDisconnection (MSocket *s)=0 |
virtual void | PushMsg (MSocket *) |
void | SetLastError (const std::string &a) |
std::string | GetLastError () |
Public Attributes | |
int | Port |
Protected Types | |
typedef std::deque< MSocket * > | MMsgQueue |
Protected Attributes | |
MMsgQueue | Messages |
MMode | Mode |
int | PrefixLen |
|
|
|
|
|
|
|
|
|
return false to reject the connection
Implemented in mdfs::MDFSTCPClient, mdfs::MDFSTCPServer, MPNL::MTCPServer, MPNL::MTCPClient, and MPNL::MTransferTCPServer. |
|
Implemented in mdfs::MDFSTCPClient, mdfs::MDFSTCPServer, MPNL::MTCPServer, MPNL::MTCPClient, MPNL::MTransferTCPServer, and MPNL::MTransferTCPClient. |
|
|
|
|
|
Implemented in MPNL::MTCPServer, MPNL::MTCPClient, MPNL::MUDPServer, and MPNL::MUDPClient. |
|
Implemented in MPNL::MTCPServer, and MPNL::MTCPClient. |
|
Implemented in MPNL::MTCPServer, and MPNL::MTCPClient. |
|
|
|
|
|
|
|
|