Table of Contents

Struct SubscribeMessage

Namespace
Fluxzy.Core.Pcap.Messages
Assembly
Fluxzy.Core.Pcap.dll
public readonly struct SubscribeMessage
Inherited Members

Constructors

SubscribeMessage(IPAddress, int, int, string)

public SubscribeMessage(IPAddress remoteAddress, int remotePort, int localPort, string outFileName)

Parameters

remoteAddress IPAddress
remotePort int
localPort int
outFileName string

Properties

LocalPort

public int LocalPort { get; }

Property Value

int

OutFileName

public string OutFileName { get; }

Property Value

string

RemoteAddress

public IPAddress RemoteAddress { get; }

Property Value

IPAddress

RemotePort

public int RemotePort { get; }

Property Value

int

Methods

Equals(SubscribeMessage)

public bool Equals(SubscribeMessage other)

Parameters

other SubscribeMessage

Returns

bool

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

FromReader(BinaryReader)

public static SubscribeMessage FromReader(BinaryReader reader)

Parameters

reader BinaryReader

Returns

SubscribeMessage

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Write(BinaryWriter)

public void Write(BinaryWriter writer)

Parameters

writer BinaryWriter