Ejemplo n.º 1
0
 /// <summary>Initializes the message with a given schema ID.</summary>
 ///
 /// <param name="subject">The subject string for the message.</param>
 /// <param name="responseStatus">RESPONSE-STATUS field to insert into a MSG PROD message.</param>
 /// <param name="schemaID">The string used to identify the message schema in C2MS or other message specification. The schema ID has the
 ///                        format of: messageKind.messageType.messageSubtype (e.g. MSG.PROD).</param>
 /// <param name="config">A configuration to associate with the message.</param>
 /// <param name="spec">A reference to the specification this message's schema will adhere to.</param>
 ///
 /// <exception cref="GmsecException">Thrown if subject is null or contains an empty string.</exception>
 /// <exception cref="GmsecException">Thrown if Specification is null.</exception>
 public ProductFileMessage(string subject, ResponseStatus.Response responseStatus, string schemaID, Config config, Specification spec)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes the message instance and automatically builds the appropriate
 /// schemaID based on the version of Specification used
 /// </summary>
 ///
 /// <param name="subject">The subject string for the message.</param>
 /// <param name="status">RESPONSE-STATUS field to insert into a MSG PROD message.</param>
 /// <param name="kind">The kind of message to instantiate.</param>
 /// <param name="productType">PROD-TYPE field to insert into a MSG PROD message.</param>
 /// <param name="productSubtype">PROD-SUBTYPE field to insert into a MSG PROD message.</param>
 /// <param name="config">A configuration to associate with the message.</param>
 /// <param name="spec">A reference to the specification this message's schema will adhere to.</param>
 ///
 /// <exception cref="GmsecException">Thrown if subject is null or contains an empty string.</exception>
 /// <exception cref="GmsecException">Thrown if productType is null or contains an empty string.</exception>
 /// <exception cref="GmsecException">Thrown if Specification is null.</exception>
 public ProductFileMessage(string subject, ResponseStatus.Response status, Message.MessageKind kind, string productType, string productSubtype, Config config, Specification spec)
 {
 }