# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLNET::CNetLog Class Reference

Logger for network transfers. More...

#include <net_log.h>

Inheritance diagram for NLNET::CNetLog:

NLMISC::CLog List of all members.

Public Methods

 CNetLog ()
 Constructor. More...

void setServiceName (const char *name)
 Sets the name of the running service. More...

void output (const char *srchost, uint8 msgnum, const char *desthost, const char *msgname, uint32 msgsize)
 Log an output transfer (send). More...

void input (const char *srchost, uint8 msgnum, const char *desthost)
 Log an input transfer (receive). More...


Private Attributes

std::string _ProcessId

Detailed Description

Logger for network transfers.

Author:
Olivier Cado , Nevrax France
Date:
2000

Definition at line 52 of file net_log.h.


Constructor & Destructor Documentation

NLNET::CNetLog::CNetLog  
 

Constructor.

Definition at line 62 of file net_log.cpp.


Member Function Documentation

void NLNET::CNetLog::input const char *    srchost,
uint8    msgnum,
const char *    desthost
 

Log an input transfer (receive).

Definition at line 91 of file net_log.cpp.

References NLMISC::CLog::displayRawNL.

void NLNET::CNetLog::output const char *    srchost,
uint8    msgnum,
const char *    desthost,
const char *    msgname,
uint32    msgsize
 

Log an output transfer (send).

Definition at line 71 of file net_log.cpp.

References NLMISC::CLog::displayRawNL.

void NLNET::CNetLog::setServiceName const char *    name
 

Sets the name of the running service.


Member Data Documentation

std::string NLNET::CNetLog::_ProcessId [private]
 

Definition at line 77 of file net_log.h.


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