Table of Contents

Interface IPeerObserver<T>

Namespace
Backdash.Network.Client
Assembly
Backdash.dll

Observe a IPeerClient<T>

public interface IPeerObserver<T> where T : struct

Type Parameters

T

Methods

OnPeerMessage(in T, SocketAddress, int)

Handle new message from peer

void OnPeerMessage(in T message, SocketAddress from, int bytesReceived)

Parameters

message T
from SocketAddress
bytesReceived int