AP&C API Reference
Protected Member Functions | Properties | List of all members
Apac.Messaging.Messages.ConfigurationMessage Class Reference

Provides the root of the configuration message functionality. More...

Inheritance diagram for Apac.Messaging.Messages.ConfigurationMessage:
Apac.Messaging.Message Apac.Messaging.Messages.AddQueueConfigMessage Apac.Messaging.Messages.RemoveQueueConfigMessage

Protected Member Functions

 ConfigurationMessage (string configQueue, MessagingConfigurationOperations op, string initiatingProcess, string initiatingUser)
 Creates a new ConfigurationMessage. More...
 
 ConfigurationMessage (SerializationInfo info, StreamingContext context)
 Deserializes a ConfigurationMessage. More...
 
- Protected Member Functions inherited from Apac.Messaging.Message
 Message (SerializationInfo info, StreamingContext context)
 Deserializes a message from binary format. More...
 
virtual void OnReadXml (System.Xml.XmlReader reader)
 The virtual plug-in point for XML deserialization, for subclasses to participate. More...
 
virtual void OnWriteXml (System.Xml.XmlWriter writer)
 The virtual plug-in point for XML serialization, for subclasses to participate. More...
 

Properties

MessagingConfigurationOperations Operation [get]
 Returns the configuration operation to be done for this message. More...
 
- Properties inherited from Apac.Messaging.Message
Guid Id [get]
 Gets the auto-generated unique ID for this message. More...
 
string Queue [get, protected set]
 Gets the designated queue for the message. This provides scope isolation within the messaging system and can be used to securely partition storage space between different security contexts (eg: two banks using the same server can have their messages segregated by queue, each with its own exclusive permissions). More...
 
MessageType Type [get, protected set]
 The category to which this message belongs. This provides message routing within the message handling control structures. See MessageType for details about each type. More...
 
string Subject [get, protected set]
 Gets the brief summary or topic for the message. More...
 
string Body [get, protected set]
 Gets the content of the message. More...
 
string BodyAsHTML [get]
 Gets the content of the message wrapped in an HTML document. More...
 
string InitiatingProcess [get, protected set]
 Gets the name of the process (or class and method) that created the notification request for this message. This information is included as an auditing and statistical analysis metric. More...
 
string InitiatingUser [get, protected set]
 Gets the name of the user identity under which the InitiatingProcess is executing. Thei information is included as an auditing and statistical analysis metric. More...
 
List< DeliveryStatusDeliveryHistory [get]
 Gets the whole unsorted list of delivery status entries for the life of the message. More...
 
string AuditID [get]
 Returns the Audit Identification value that can be used to track this message. More...
 
string Hostname [get]
 The hostname of the system where the message was originally created. More...
 
string Text [get]
 Returns the Body and AuditID concatenated together. More...
 

Additional Inherited Members

- Public Member Functions inherited from Apac.Messaging.Message
 Message (string queue, MessageType type, string subject, string body, string initiatingProcess, string initiatingUser)
 Creates a new message instance. More...
 
 Message ()
 Parameterless constructor provided for XML serialization. More...
 
void AddProperty (string propertyName, object data)
 Puts an object in the property bag, which is the extended data for the message, apart from the message content. This data is stored with the message but is not delivered along with it. It can be used to drive any special handling required for the message, but standard handlers ignore it. More...
 
object GetProperty (string propertyName)
 Dips into the property bag and returns the extended data with the given name. More...
 
List< DeliveryStatusGetHistoryByProtocol (MessagingProtocols protocol)
 Gets sublist of delivery status messages that match the requested protocol sorted by timestamp (ascending). More...
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 The serializing method for binary data. More...
 
System.Xml.Schema.XmlSchema GetSchema ()
 This method is a no-op. We have opted to use the System.Xml.Serialization.XmlSchemaProviderAttribute instead. More...
 
void ReadXml (System.Xml.XmlReader reader)
 Deserializes object data from XML format. More...
 
void WriteXml (System.Xml.XmlWriter writer)
 Serializes object data to XML format. More...
 

Detailed Description

Provides the root of the configuration message functionality.

Constructor & Destructor Documentation

◆ ConfigurationMessage() [1/2]

Apac.Messaging.Messages.ConfigurationMessage.ConfigurationMessage ( string  configQueue,
MessagingConfigurationOperations  op,
string  initiatingProcess,
string  initiatingUser 
)
inlineprotected

Creates a new ConfigurationMessage.

Parameters
configQueueThe queue into which this message is placed.
opThe MessagingConfigurationOperations to be done.
initiatingProcessThe initiating process identifier.
initiatingUserThe initiating user name.

◆ ConfigurationMessage() [2/2]

Apac.Messaging.Messages.ConfigurationMessage.ConfigurationMessage ( SerializationInfo  info,
StreamingContext  context 
)
inlineprotected

Deserializes a ConfigurationMessage.

Parameters
infoSee SerializationInfo.
contextSee StreamingContext.

Property Documentation

◆ Operation

MessagingConfigurationOperations Apac.Messaging.Messages.ConfigurationMessage.Operation
get

Returns the configuration operation to be done for this message.


The documentation for this class was generated from the following file: