sbrcsr 3.2.0
ATOMAS sbrcsr

A sbr_Sbdm object can contain one or more sbr_MsgEventItem objects. More...

Typedefs

typedef struct _sbr_MsgParty sbr_MsgParty
 Holds the message details for a party involved in a transaction. More...
 

Enumerations

enum  sbr_eMsgPartyType { SBR_MSG_SENDER = 1 , SBR_MSG_RECEIVER }
 Indicates whether the details belong to the sender or receiver. More...
 

Functions

SBR_CSR_EXPORT const char * sbr_msgp_iddesignation (sbr_MsgParty *party)
 Get the designation value for the party. More...
 
SBR_CSR_EXPORT const char * sbr_msgp_idname (sbr_MsgParty *party)
 Get the scheme of the party. More...
 
SBR_CSR_EXPORT sbr_eMsgPartyType sbr_msgp_type (sbr_MsgParty *party)
 Get the type for the party (whether a sender or receiver). More...
 
SBR_CSR_EXPORT const char * sbr_msgp_typestr (sbr_eMsgPartyType msgpartytype)
 Utility method to get the partytype as a string. More...
 

Detailed Description

A sbr_Sbdm object can contain one or more sbr_MsgEventItem objects.

Typedef Documentation

◆ sbr_MsgParty

typedef struct _sbr_MsgParty sbr_MsgParty

Holds the message details for a party involved in a transaction.

This can be used to hold details of the "other" party. That is, the request message holds the details of the sender and vica-versa.

Enumeration Type Documentation

◆ sbr_eMsgPartyType

Indicates whether the details belong to the sender or receiver.

Enumerator
SBR_MSG_SENDER 

Party type is Sender.

SBR_MSG_RECEIVER 

Party type is Receiver.

Function Documentation

◆ sbr_msgp_iddesignation()

SBR_CSR_EXPORT const char * sbr_msgp_iddesignation ( sbr_MsgParty party)

Get the designation value for the party.

Parameters
partythe party object.
Returns
designation value.

◆ sbr_msgp_idname()

SBR_CSR_EXPORT const char * sbr_msgp_idname ( sbr_MsgParty party)

Get the scheme of the party.

Parameters
partythe party object.
Returns
party scheme.

◆ sbr_msgp_type()

SBR_CSR_EXPORT sbr_eMsgPartyType sbr_msgp_type ( sbr_MsgParty party)

Get the type for the party (whether a sender or receiver).

Parameters
partythe party object.
Returns
party type.

◆ sbr_msgp_typestr()

SBR_CSR_EXPORT const char * sbr_msgp_typestr ( sbr_eMsgPartyType  msgpartytype)

Utility method to get the partytype as a string.

Useful for logging.

Parameters
msgpartytypethe partytype.
Returns
party type as a string.