Show / Hide Table of Contents

Class MessageHandlerRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the MessageHandler table.

Inheritance
object
MessageHandlerRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class MessageHandlerRecordData
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

MessageHandlerRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the MessageHandler table.

Declaration
public MessageHandlerRecordData()
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

Machine

Machine the handler is running on

Declaration
public string Machine
Field Value
Type Description
string
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MessageHandlerId

Primary key

Declaration
public int MessageHandlerId
Field Value
Type Description
int
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Port

UDP port this handler is listening on

Declaration
public uint Port
Field Value
Type Description
uint
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ProcessIdHigh

High word of process id of the message handler process

Declaration
public uint ProcessIdHigh
Field Value
Type Description
uint
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ProcessIdLow

Low word of process id of the message handler process

Declaration
public uint ProcessIdLow
Field Value
Type Description
uint
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Role

1 = request, 2 = respond, 4 = route (bitmapped flags)

Declaration
public int Role
Field Value
Type Description
int
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UniqueIdentifier

GUID identifying the handler, generated by the handler when it starts

Declaration
public string UniqueIdentifier
Field Value
Type Description
string
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

'heartbeat' that is updated once a minute by the batch task process in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

'heartbeat' that is updated once a minute by the batch task process

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

'heartbeat' that is updated once a minute by the batch task process

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full MessageHandlerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding MessageHandlerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

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