Class SoAliveMessage
Body of alive messages sent to request SoAcknowledgeMessage with details of the other clients participating on the message bus.
Inherited Members
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
Extension Methods
EnumUtil.MapEnums<From, To>(From)