Show / Hide Table of Contents

Class SoAliveMessage

Body of alive messages sent to request SoAcknowledgeMessage with details of the other clients participating on the message bus.

Inheritance
Object
SoMessagePreHeader
SoMessageHeader
SoAliveMessage
Inherited Members
SoMessageHeader.HeaderSize
SoMessageHeader.BodySize
SoMessageHeader.MessageType
SoMessageHeader.MessageId
SoMessageHeader.SourceId
SoMessageHeader.TargetId
SoMessageHeader.IsValidate()
SoMessageHeader.IsForMe(Guid)
SoMessageHeader.Description
SoMessagePreHeader.Identifier
SoMessagePreHeader.Version
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.Messaging.Messages
Assembly: SoDataBase.dll
Syntax
public class SoAliveMessage : SoMessageHeader

Constructors

SoAliveMessage()

Constructor called by the serializer.

Declaration
public SoAliveMessage()

SoAliveMessage(Int32, Guid)

Constructor used for initializing a new alive message.

Declaration
public SoAliveMessage(int sourcePort, Guid sourceId)
Parameters
Type Name Description
Int32 sourcePort

Port the client listens to.

Guid sourceId

Source ID (Guid) of the current client.

Fields

ProcessId

Process identifier. Only the 32 LSB are used for 32 bits processors.

Declaration
public ulong ProcessId
Field Value
Type Description
UInt64

SourcePort

Port the process listens to.

Declaration
public int SourcePort
Field Value
Type Description
Int32

Methods

PrepareDatabaseMessage(MessageRow)

Body of alive messages sent to request SoAcknowledgeMessage with details of the other clients participating on the message bus.

Declaration
public override bool PrepareDatabaseMessage(MessageRow row)
Parameters
Type Name Description
MessageRow row
Returns
Type Description
Boolean
Overrides
SoMessageHeader.PrepareDatabaseMessage(MessageRow)

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top