Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TSrvIfaceMgr Class Reference

#include <SrvIfaceMgr.h>

Inheritance diagram for TSrvIfaceMgr:

TIfaceMgr List of all members.

Public Member Functions

 TSrvIfaceMgr (string xmlFile)
 ~TSrvIfaceMgr ()
bool send (int iface, char *msg, int size, SmartPtr< TIPv6Addr > addr)
SmartPtr< TMsgselect (unsigned long timeout)
void setThats (SmartPtr< TSrvIfaceMgr > srvIfaceMgr, SmartPtr< TSrvTransMgr > srvTransMgr, SmartPtr< TSrvCfgMgr > srvCfgMgr, SmartPtr< TSrvAddrMgr > srvAddrMgr)

Detailed Description

ServerInterfaceManager - sends and receives messages (server version)
Date:
2003-10-14
Author:
Tomasz Mrugalski <admin@klub.com.pl> GNU GPL v2 or later


Constructor & Destructor Documentation

TSrvIfaceMgr::TSrvIfaceMgr string  xmlFile  ) 
 

TSrvIfaceMgr::~TSrvIfaceMgr  ) 
 


Member Function Documentation

SmartPtr< TMsg > TSrvIfaceMgr::select unsigned long  timeout  ) 
 

reads messages from all interfaces it's wrapper around IfaceMgr::select(...) method

Parameters:
timeout - how long can we wait for packets? returns SmartPtr to message object

bool TSrvIfaceMgr::send int  iface,
char *  msg,
int  size,
SmartPtr< TIPv6Addr addr
 

sends data to client. Uses multicast address as source

Parameters:
iface - interface ID
msg - buffer containing message ready to send
size - size of message
addr - destination address returns true if message was send successfully

void TSrvIfaceMgr::setThats SmartPtr< TSrvIfaceMgr srvIfaceMgr,
SmartPtr< TSrvTransMgr srvTransMgr,
SmartPtr< TSrvCfgMgr srvCfgMgr,
SmartPtr< TSrvAddrMgr srvAddrMgr
 


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 21:55:26 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1