Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.4 KiB

//
// MODULE: SNIFFCONTROLLERLOCAL.H
//
// PURPOSE: sniff controller class for Local TS
//
// COMPANY: Saltmine Creative, Inc. (206)-284-7511 [email protected]
//
// AUTHOR: Oleg Kalosha
//
// ORIGINAL DATE: 12-11-98
//
// NOTES: Concrete implementation of CSniffController class for Local TS
//
// Version Date By Comments
//--------------------------------------------------------------------
// V3.2 12-11-98 OK
//
#if !defined(AFX_SNIFFCONTROLLERLOCAL_H__5FAF2243_8577_11D3_8D4C_00C04F949D33__INCLUDED_)
#define AFX_SNIFFCONTROLLERLOCAL_H__5FAF2243_8577_11D3_8D4C_00C04F949D33__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SniffController.h"
class CTopic;
class CSniffControllerLocal : public CSniffController
{
CTopic* m_pTopic;
public:
CSniffControllerLocal(CTopic* pTopic);
~CSniffControllerLocal();
public:
virtual void SetTopic(CTopic* pTopic);
public:
virtual bool AllowAutomaticOnStartSniffing(NID numNodeID);
virtual bool AllowAutomaticOnFlySniffing(NID numNodeID);
virtual bool AllowManualSniffing(NID numNodeID);
virtual bool AllowResniff(NID numNodeID);
protected:
virtual bool IsSniffable(NID numNodeID);
private:
bool CheckNetNodePropBool(LPCTSTR net_prop, LPCTSTR node_prop, NID node_id);
};
#endif // !defined(AFX_SNIFFCONTROLLERLOCAL_H__5FAF2243_8577_11D3_8D4C_00C04F949D33__INCLUDED_)