Table of Contents

Class Tend

Namespace
Coherence.Tend.Client
Assembly
Coherence.Tend.dll
public class Tend
Inheritance
Tend

Constructors

Tend(Logger)

public Tend(Logger logger)

Parameters

logger Logger

Tend(Logger, IOutgoingLogic, IIncomingLogic)

public Tend(Logger logger, IOutgoingLogic tendOut, IIncomingLogic tendIn)

Parameters

logger Logger
tendOut IOutgoingLogic
tendIn IIncomingLogic

Fields

Connected

public bool Connected

Field Value

bool

Properties

CanSend

public bool CanSend { get; }

Property Value

bool

LastReceivedByRemote

public SequenceId LastReceivedByRemote { get; }

Property Value

SequenceId

OutgoingSequenceId

public SequenceId OutgoingSequenceId { get; }

Property Value

SequenceId

Methods

DeserializeHeader(IInOctetStream)

public static TendHeader DeserializeHeader(IInOctetStream stream)

Parameters

stream IInOctetStream

Returns

TendHeader

IsValidSeqToSend(in SequenceId)

public bool IsValidSeqToSend(in SequenceId sentSequenceId)

Parameters

sentSequenceId SequenceId

Returns

bool

ReadHeader(IInOctetStream, out TendHeader, out bool)

public bool ReadHeader(IInOctetStream stream, out TendHeader tendHeader, out bool didAck)

Parameters

stream IInOctetStream
tendHeader TendHeader
didAck bool

Returns

bool

SerializeHeader(IOutOctetStream, TendHeader)

public static void SerializeHeader(IOutOctetStream stream, TendHeader tendHeader)

Parameters

stream IOutOctetStream
tendHeader TendHeader

WriteHeader(IOutOctetStream, bool)

public TendHeader WriteHeader(IOutOctetStream stream, bool isReliable)

Parameters

stream IOutOctetStream
isReliable bool

Returns

TendHeader

Events

OnDeliveryInfo

public event Action<DeliveryInfo> OnDeliveryInfo

Event Type

Action<DeliveryInfo>