PacketCapture.DefinitionStages.WithCreate Interface

public interface WithCreate extends Creatable

Method Summary

Modifier and Type Method and Description
PCFilter.DefinitionStages.Blank<PacketCapture.DefinitionStages.WithCreate> definePacketCaptureFilter()

Begin the definition of packet capture filter.

PacketCapture.DefinitionStages.WithCreate withBytesToCapturePerPacket(int bytesToCapturePerPacket)

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

PacketCapture.DefinitionStages.WithCreate withTimeLimitInSeconds(int timeLimitInSeconds)

Set maximum duration of the capture session in seconds.

PacketCapture.DefinitionStages.WithCreate withTotalBytesPerSession(int totalBytesPerSession)

Set maximum size of the capture output.

Inherited Members

Method Details

definePacketCaptureFilter

public PCFilter.DefinitionStages.Blank definePacketCaptureFilter()

Begin the definition of packet capture filter.

Returns:

the next stage

withBytesToCapturePerPacket

public 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 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 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