Interface PacketCapture.DefinitionStages.WithCreate

    • Method Detail

      • withBytesToCapturePerPacket

        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
      • withTotalBytesPerSession

        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
      • withTimeLimitInSeconds

        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