Table of Contents

Interface ICaptureContext

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

Defines the expected behavior of a capture context engine

public interface ICaptureContext : IAsyncDisposable
Inherited Members

Properties

Available

True if available

bool Available { get; }

Property Value

bool

Methods

ClearAll()

clear all

void ClearAll()

Flush()

Flush any in memory data to disk

void Flush()

Include(IPAddress, int)

Include a specific socket

void Include(IPAddress remoteAddress, int remotePort)

Parameters

remoteAddress IPAddress
remotePort int

Start()

Start the capture engine

Task Start()

Returns

Task

StoreKey(string, IPAddress, int, int)

Add NSS key to a specific socket

void StoreKey(string nssKey, IPAddress remoteAddress, int remotePort, int localPort)

Parameters

nssKey string
remoteAddress IPAddress
remotePort int
localPort int

Subscribe(string, IPAddress, int, int)

Write to a file the content of a specific socket

long Subscribe(string outFileName, IPAddress remoteAddress, int remotePort, int localPort)

Parameters

outFileName string
remoteAddress IPAddress
remotePort int
localPort int

Returns

long

Returns a subscription id

Unsubscribe(long)

Unsubscribe a specific socket

ValueTask Unsubscribe(long subscription)

Parameters

subscription long

Returns

ValueTask