Table of Contents

Class SessionId

Namespace
Apache.NMS.ActiveMQ.Commands
Assembly
Apache.NMS.ActiveMQ.dll
public class SessionId : BaseDataStructure, DataStructure, ICloneable
Inheritance
SessionId
Implements
Inherited Members

Constructors

SessionId()

public SessionId()

SessionId(ConnectionId, long)

public SessionId(ConnectionId connectionId, long sessionId)

Parameters

connectionId ConnectionId
sessionId long

SessionId(ConsumerId)

public SessionId(ConsumerId consumerId)

Parameters

consumerId ConsumerId

SessionId(ProducerId)

public SessionId(ProducerId producerId)

Parameters

producerId ProducerId

Fields

ID_SESSIONID

public const byte ID_SESSIONID = 121

Field Value

byte

Properties

ConnectionId

public string ConnectionId { get; set; }

Property Value

string

ParentId

public ConnectionId ParentId { get; }

Property Value

ConnectionId

Value

public long Value { get; set; }

Property Value

long

Methods

Equals(SessionId)

public virtual bool Equals(SessionId that)

Parameters

that SessionId

Returns

bool

Equals(object)

public override bool Equals(object that)

Parameters

that object

Returns

bool

GetDataStructureType()

public override byte GetDataStructureType()

Returns

byte

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string