Network Capture APIs.
More...
#include <managed_domain.h>
◆ enable()
static System::Boolean NDDS::NetworkCapture::enable |
( |
| ) |
|
|
static |
◆ disable()
static System::Boolean NDDS::NetworkCapture::disable |
( |
| ) |
|
|
static |
◆ set_default_params()
◆ start() [1/4]
static System::Boolean NDDS::NetworkCapture::start |
( |
System::String^ |
filename, |
|
|
NetworkCaptureParams_t^ |
params |
|
) |
| |
|
static |
Start capturing traffic for all DomainParticipants, with the provided parameters.
- Precondition
- This method requires first enabling Network Capture. See NDDS::NetworkCapture::enable.
Perfoms the same function as NDDS::NetworkCapture::start except that it uses the provided parameters, instead of the default ones.
- Parameters
-
filename | <<in>>. The name of the output capture file will be based on this input parameter. |
In particular, the name for the capture file is the concatenation of the filename
input parameter, the "_GUID-"
string followed by the decimal representation of bytes 8-11 of the DomainParticipant's GUID, and the file extension (".pcap"
).
- Parameters
-
params | <<in>>. Configuration parameters for the capture. |
- Returns
- true if success. Otherwise, false
- See also
- NDDS::NetworkCapture::stop
-
NDDS::NetworkCapture::start(DDS:DomainParticipant^, System::String^, NetworkCaptureParams_t^)
◆ start() [2/4]
◆ start() [3/4]
static System::Boolean NDDS::NetworkCapture::start |
( |
System::String^ |
filename | ) |
|
|
static |
Start capturing traffic for all DomainParticipants, with the default parameters.
- Precondition
- This method requires first enabling Network Capture. See NDDS::NetworkCapture::enable.
- Parameters
-
filename | <<in>>. The name of the output capture file will be based on this input parameter. |
In particular, the name for the capture file is the concatenation of the filename
input parameter, the "_GUID-"
string followed by the decimal representation of bytes 8-11 of the DomainParticipant's GUID, and the file extension (".pcap"
).
- Returns
- true if success. Otherwise, false
- See also
- NDDS::NetworkCapture::stop
-
NDDS::NetworkCapture::start(DDS::DomainParticipant^, System::String^)
◆ start() [4/4]
static System::Boolean NDDS::NetworkCapture::start |
( |
DDS::DomainParticipant^ |
participant, |
|
|
System::String^ |
filename |
|
) |
| |
|
static |
Start capturing traffic for a DomainParticipant, with the default parameters.
- Precondition
- This method requires first enabling Network Capture. See NDDS::NetworkCapture::enable.
- Parameters
-
participant | <<in>>. DomainParticipant for which we want to capture traffic. |
filename | <<in>>. The name of the output capture file will be based on this input parameter. |
In particular, the name for the capture file is the concatenation of the filename
input parameter, and the file extension (".pcap"
).
- Returns
- true if success. Otherwise, false
- See also
- NDDS::NetworkCapture::stop(DDS::DomainParticipant^)
-
NDDS::NetworkCapture::start(DDS:DomainParticipant^, System::String^, NetworkCaptureParams_t^)
-
NDDS::NetworkCapture::enable
◆ stop() [1/2]
static System::Boolean NDDS::NetworkCapture::stop |
( |
| ) |
|
|
static |
◆ stop() [2/2]
◆ pause() [1/2]
static System::Boolean NDDS::NetworkCapture::pause |
( |
| ) |
|
|
static |
◆ pause() [2/2]
◆ resume() [1/2]
static System::Boolean NDDS::NetworkCapture::resume |
( |
| ) |
|
|
static |
◆ resume() [2/2]