NetworkTrafficWriter

A common interface for any network traffic writers.

Parameters

T

the network traffic snapshot to transcribe.

R

the result of the transcription.

Functions

Link copied to clipboard
abstract fun write(snapshot: T): R

Writes the snapshot object into the R type. The exact implementation details are up to the implementation, this may directly write to disk, or it may just return the transcription.