Table of Contents

Interface ITransport

Namespace
Coherence.Transport
Assembly
Coherence.Transport.dll
public interface ITransport

Properties

CanSend

bool CanSend { get; }

Property Value

bool

HeaderSize

int HeaderSize { get; }

Property Value

int

IsReliable

bool IsReliable { get; }

Property Value

bool

State

TransportState State { get; }

Property Value

TransportState

Methods

Close()

void Close()

Open(EndpointData, ConnectionSettings)

void Open(EndpointData endpoint, ConnectionSettings settings)

Parameters

endpoint EndpointData
settings ConnectionSettings

PrepareDisconnect()

void PrepareDisconnect()

Receive(List<(IInOctetStream, IPEndPoint)>)

void Receive(List<(IInOctetStream, IPEndPoint)> buffer)

Parameters

buffer List<(IInOctetStream, IPEndPoint)>

Send(IOutOctetStream)

void Send(IOutOctetStream data)

Parameters

data IOutOctetStream

Events

OnError

event Action<ConnectionException> OnError

Event Type

Action<ConnectionException>

OnOpen

event Action OnOpen

Event Type

Action