RTI Connext Java API  Version 6.1.1
NetworkCaptureParams Class Reference

Input parameters for starting network capture. More...

Inherits Struct.

Public Attributes

StringSeq transports = new StringSeq()
 List of transports to capture. More...
 
int dropped_content = NetworkCaptureContentKind.MASK_DEFAULT
 Exclude contents from the capture file. More...
 
int traffic = NetworkCaptureTrafficKind.MASK_DEFAULT
 Traffic direction to capture. More...
 
boolean parse_encrypted_content = false
 If secure traffic should be decrypted or not. More...
 
ThreadSettings_t checkpoint_thread_settings = new ThreadSettings_t()
 The properties of the checkpoint thread. More...
 
int frame_queue_size = 2097152
 Size of the frame queue (Bytes). More...
 

Detailed Description

Input parameters for starting network capture.

Member Data Documentation

◆ transports

StringSeq transports = new StringSeq()

List of transports to capture.

Network Capture will only save RTPS frames if the associated transport protocol is part of this sequence.

[default] Empty sequence initializer. This means that by default all transports will be captured.

◆ dropped_content

Exclude contents from the capture file.

It accepts values from com.rti.ndds.utility.NetworkCaptureContentKind .

We can choose to exclude user data or encrypted content from the capture file.

[default] No content is excluded - com.rti.ndds.utility.NetworkCaptureContentKind.MASK_DEFAULT.

◆ traffic

Traffic direction to capture.

It accepts values from com.rti.ndds.utility.NetworkCaptureTrafficKind .

[default] Capture both inbound and outbound traffic - com.rti.ndds.utility.NetworkCaptureTrafficKind.MASK_DEFAULT.

◆ parse_encrypted_content

boolean parse_encrypted_content = false

If secure traffic should be decrypted or not.

[default] com.rti.dds.infrastructure.false

◆ checkpoint_thread_settings

ThreadSettings_t checkpoint_thread_settings = new ThreadSettings_t()

The properties of the checkpoint thread.

The checkpoint thread is a per-participant thread responsible for reading frames from a queue and saving them to disk (as soon as they are produced).

The members that can be configured are:

◆ frame_queue_size

int frame_queue_size = 2097152

Size of the frame queue (Bytes).

Network capture enqueues frames before saving them to disk, which takes place in a separate thread.

Network Capture does not block if the queue becomes full. Attempting to enqueue a frame with a full frame queue will fail (frame won't be captured) with a log message.

The size of the queue is dependent on the network traffic (amount of frames that we want to capture) and system resources (how fast we can capture frames).

[default] 2097152 (2MB).