Table of Contents

Class PeerClientFactory

Namespace
Backdash.Network.Client
Assembly
Backdash.dll

Create new instances of IPeerClient<T>

public static class PeerClientFactory
Inheritance
PeerClientFactory
Inherited Members

Methods

Create<T>(IPeerSocket, IPeerObserver<T>, IBinarySerializer<T>?, int)

Creates new IPeerClient<T>

public static IPeerClient<T> Create<T>(IPeerSocket socket, IPeerObserver<T> observer, IBinarySerializer<T>? serializer = null, int maxPacketSize = 65527) where T : unmanaged

Parameters

socket IPeerSocket
observer IPeerObserver<T>
serializer IBinarySerializer<T>
maxPacketSize int

Returns

IPeerClient<T>

Type Parameters

T