| Rev | Line | |
|---|
| [22] | 1 | /** |
|---|
| 2 | * @file PCAPOfflineCapture.h |
|---|
| 3 | * This header file defines the PCAPOfflineCapture class. |
|---|
| 4 | * @author Tomas Urban |
|---|
| 5 | * @version 0.1 |
|---|
| 6 | * @date 16/07/2009 |
|---|
| 7 | */ |
|---|
| 8 | #ifndef PCAP_OFFLINE_CAPTURE_H |
|---|
| 9 | #define PCAP_OFFLINE_CAPTURE_H |
|---|
| 10 | |
|---|
| 11 | #include "PCAPCapture.h" |
|---|
| 12 | /** |
|---|
| 13 | * Class used for reading traffic logs stored in the pcap format. |
|---|
| 14 | */ |
|---|
| 15 | class PCAPOfflineCapture : |
|---|
| 16 | public PCAPCapture |
|---|
| 17 | { |
|---|
| 18 | |
|---|
| 19 | public: |
|---|
| 20 | PCAPOfflineCapture(); |
|---|
| 21 | virtual ~PCAPOfflineCapture(void); |
|---|
| 22 | /** |
|---|
| 23 | * Initializes capturing object. The parameter shall contain a path to the traffic log file. |
|---|
| 24 | * @param sParams Log file path |
|---|
| 25 | * @return Operation success |
|---|
| 26 | */ |
|---|
| 27 | virtual ECaptureInitResult OpenDevice(const std::string sParams); |
|---|
| 28 | }; |
|---|
| 29 | |
|---|
| 30 | #endif |
|---|
| 31 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.