Skip to content

Client´T

Narumikazuchi edited this page Sep 18, 2021 · 3 revisions

Assembly: Narumikazuchi.Networking.Sockets.dll
Namespace: Narumikazuchi.Networking.Sockets

Description

Represents an IClient<TData>, which communicates with IServer<TData> objects through objects of the type parameter TData.

public class Client<TData>

Implements

Interfaces

IClient<T>

Members

Defined

CreateClient(in System.Int32,in System.Int32)
CreateClient(in System.Int32,in System.Int32, ClientDataProcessor<TData>)
Disconnect(in System.Boolean)
Connected

Inherited

IClient<T>

Connect(System.Net.IPAddress)
Disconnect()
Send(TData)
BufferSize
DataProcessor
Guid
Port
ConnectionClosed
ConnectionEstablished
DataReceived

Methods

CreateClient(in System.Int32,in System.Int32)

Creates a new instance of the Client<TData> class.

void CreateClient(in System.Int32,
                  in System.Int32);

CreateClient(in System.Int32,in System.Int32, ClientDataProcessor<TData>)

Creates a new instance of the Client<TData> class.

void CreateClient(in System.Int32,
                  in System.Int32, 
                  ClientDataProcessor<TData>);

Disconnect(in System.Boolean)

Disconnects the IClient<TData> from it's current connection to an IServer<TData>.

void Disconnect(in System.Boolean);

Properties

Connected

Gets whether the IClient<TData> is connected to an IServer<TData> at the moment.

System.Boolean Connected { get; }