Windows-Server-2003/enduser/troubleshoot/tshoot/sniffcontrollerlocal.h

55 lines
1.3 KiB
C++

//
// MODULE: SNIFFCONTROLLERLOCAL.H
//
// PURPOSE: sniff controller class for Local TS
//
// COMPANY: Saltmine Creative, Inc. (206)-284-7511 support@saltmine.com
//
// 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_)