Skip to content

Hmp1ConnectedEventArgs ​

Namespace: Hex1b

Assembly: Hex1b.dll

Arguments for the callback. Carries the state assembled from the Hello and StateSync handshake frames.

csharp
public sealed class Hmp1ConnectedEventArgs : EventArgs

Inheritance ​

Object → EventArgs → Hmp1ConnectedEventArgs

Properties ​

Connection ​

The connection handle for this client. Stash this reference for later runtime calls (e.g. ); no other public surface delivers it when the easy-path WithHmp1* builder extensions are used.

Returns: IHmp1ConnectionHandle

csharp
public IHmp1ConnectionHandle Connection { get; }

Height ​

Producer PTY height reported in the Hello frame.

Returns: Int32

csharp
public int Height { get; }

PeerId ​

Peer ID assigned by the server.

Returns: String

csharp
public string PeerId { get; }

Peers ​

Snapshot of the peer roster at handshake time (excluding self).

Returns: IReadOnlyList<PeerInfo>

csharp
public IReadOnlyList<PeerInfo> Peers { get; }

PrimaryPeerId ​

Peer ID of the current primary, or null when no peer is primary.

Returns: String

csharp
public string? PrimaryPeerId { get; }

Width ​

Producer PTY width reported in the Hello frame.

Returns: Int32

csharp
public int Width { get; }

Released under the MIT License.