Table of Contents

Struct SessionID

Namespace
Coherence.Transport
Assembly
Coherence.Transport.dll
public struct SessionID

Constructors

SessionID(ushort)

public SessionID(ushort value)

Parameters

value ushort

Fields

None

public static readonly SessionID None

Field Value

SessionID

Size

public const int Size = 2

Field Value

int

Value

public readonly ushort Value

Field Value

ushort

Methods

Equals(SessionID)

public bool Equals(SessionID other)

Parameters

other SessionID

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Read(IInOctetStream)

public static SessionID Read(IInOctetStream stream)

Parameters

stream IInOctetStream

Returns

SessionID

ToString()

public override string ToString()

Returns

string

Write(in SessionID, IOutOctetStream)

public static void Write(in SessionID sessionID, IOutOctetStream stream)

Parameters

sessionID SessionID
stream IOutOctetStream

Operators

operator ==(SessionID, SessionID)

public static bool operator ==(SessionID l, SessionID r)

Parameters

l SessionID
r SessionID

Returns

bool

implicit operator ushort(SessionID)

public static implicit operator ushort(SessionID id)

Parameters

id SessionID

Returns

ushort

implicit operator SessionID(ushort)

public static implicit operator SessionID(ushort value)

Parameters

value ushort

Returns

SessionID

operator !=(SessionID, SessionID)

public static bool operator !=(SessionID l, SessionID r)

Parameters

l SessionID
r SessionID

Returns

bool