PacketCapture.DefinitionStages.WithCreate Interface

Implements

public static interface PacketCapture.DefinitionStages.WithCreate
extends Creatable<PacketCapture>

Method Summary

Modifier and Type Method and Description
abstract Blank<WithCreate> definePacketCaptureFilter()

Begin the definition of packet capture filter.

abstract WithCreate withBytesToCapturePerPacket(int bytesToCapturePerPacket)

Set number of bytes captured per packet, the remaining bytes are truncated.

abstract WithCreate withTimeLimitInSeconds(int timeLimitInSeconds)

Set maximum duration of the capture session in seconds.

abstract WithCreate withTotalBytesPerSession(int totalBytesPerSession)

Set maximum size of the capture output.

Method Details

definePacketCaptureFilter

public abstract PCFilter.DefinitionStages.Blank definePacketCaptureFilter()

Begin the definition of packet capture filter.

Returns:

the next stage

withBytesToCapturePerPacket

public abstract PacketCapture.DefinitionStages.WithCreate withBytesToCapturePerPacket(int bytesToCapturePerPacket)

Set number of bytes captured per packet, the remaining bytes are truncated.

Parameters:

bytesToCapturePerPacket - Number of bytes captured per packet

Returns:

the next stage

withTimeLimitInSeconds

public abstract PacketCapture.DefinitionStages.WithCreate withTimeLimitInSeconds(int timeLimitInSeconds)

Set maximum duration of the capture session in seconds.

Parameters:

timeLimitInSeconds - Maximum duration of the capture session in seconds

Returns:

the next stage

withTotalBytesPerSession

public abstract PacketCapture.DefinitionStages.WithCreate withTotalBytesPerSession(int totalBytesPerSession)

Set maximum size of the capture output.

Parameters:

totalBytesPerSession - Maximum size of the capture output

Returns:

the next stage

Applies to