NetResponsibility

class SnifferThread

Library: Net Responsibility
Package: Core
Header: SnifferThread.h

Description

SnifferThread is a thread that listens for HTTP requests on a specific interface, and makes sure they're getting logged. It is invoked by Sniffer. Much of this code is inspired by examples provided by TCPDump and Winpcap

Inheritance

Direct Base Classes: Poco::Runnable

All Base Classes: Poco::Runnable

Member Summary

Member Functions: openDevice, run

Inherited Functions: run

Constructors

SnifferThread

SnifferThread();

Constructs SnifferThread and sets up some default values

Member Functions

openDevice

int openDevice(
    string device
);

Open the given device.

run virtual

virtual void run();

Run the SnifferThread.

See also: Poco::Runnable::run()