Struct SubscribeMessage
public readonly struct SubscribeMessage
- Inherited Members
Constructors
SubscribeMessage(IPAddress, int, int, string)
public SubscribeMessage(IPAddress remoteAddress, int remotePort, int localPort, string outFileName)
Parameters
Properties
LocalPort
public int LocalPort { get; }
Property Value
OutFileName
public string OutFileName { get; }
Property Value
RemoteAddress
public IPAddress RemoteAddress { get; }
Property Value
RemotePort
public int RemotePort { get; }
Property Value
Methods
Equals(SubscribeMessage)
public bool Equals(SubscribeMessage other)
Parameters
other
SubscribeMessage
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
obj
objectThe 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
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