/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The type of node ("Agent" or "ZIS")</param> ///<param name="sifName">The descriptive name of the SIF node (i.e. Ramsey Food Services).</param> ///<param name="sifSourceId">The agent or ZIS identifier. This is the same value that the SIF node would place in any SIF_Header that it would create.</param> ///<param name="sifMode">Specifies the communication mode (Pull or Push) as chosen by the message sender.</param> ///<param name="sifMaxBufferSize">Specifies that the ZIS should never send packets larger than this value. Query responses from other providers are controlled by the SIF_MaxBufferSize attribute in the SIF_Request message.</param> ///<param name="sifSleeping">This element shows whether the SIF node is ready to process messages.</param> /// public SIF_SIFNode(SIF_SIFNodeType type, string sifName, string sifSourceId, SIFMode sifMode, int?sifMaxBufferSize, YesNo sifSleeping) : base(InfraDTD.SIF_SIFNODE) { this.SetType(type); this.SIF_Name = sifName; this.SIF_SourceId = sifSourceId; this.SetSIF_Mode(sifMode); this.SIF_MaxBufferSize = sifMaxBufferSize; this.SetSIF_Sleeping(sifSleeping); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The type of node ("Agent" or "ZIS")</param> ///<param name="sifName">The descriptive name of the SIF node (i.e. Ramsey Food Services).</param> ///<param name="sifSourceId">The agent or ZIS identifier. This is the same value that the SIF node would place in any SIF_Header that it would create.</param> ///<param name="sifMode">Specifies the communication mode (Pull or Push) as chosen by the message sender.</param> ///<param name="sifMaxBufferSize">Specifies that the ZIS should never send packets larger than this value. Query responses from other providers are controlled by the SIF_MaxBufferSize attribute in the SIF_Request message.</param> ///<param name="sifSleeping">This element shows whether the SIF node is ready to process messages.</param> /// public SIF_SIFNode( SIF_SIFNodeType type, string sifName, string sifSourceId, SIFMode sifMode, int? sifMaxBufferSize, YesNo sifSleeping ) : base(InfraDTD.SIF_SIFNODE) { this.SetType( type ); this.SIF_Name = sifName; this.SIF_SourceId = sifSourceId; this.SetSIF_Mode( sifMode ); this.SIF_MaxBufferSize = sifMaxBufferSize; this.SetSIF_Sleeping( sifSleeping ); }
/// <summary> /// Sets the value of the <c><SIF_Mode></c> element. /// </summary> /// <param name="val">A SIFMode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Specifies the communication mode (Pull or Push) as chosen by the message sender."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSIF_Mode( SIFMode val ) { SetField( InfraDTD.SIF_REGISTER_SIF_MODE, val ); }
///<summary>Adds the value of the <c><SIF_SIFNode></c> element.</summary> /// <param name="Type">The type of node ("Agent" or "ZIS")</param> /// <param name="SifName">The descriptive name of the SIF node (i.e. Ramsey Food Services).</param> /// <param name="SifSourceId">The agent or ZIS identifier. This is the same value that the SIF node would place in any SIF_Header that it would create.</param> /// <param name="SifMode">Specifies the communication mode (Pull or Push) as chosen by the message sender.</param> /// <param name="SifMaxBufferSize">Specifies that the ZIS should never send packets larger than this value. Query responses from other providers are controlled by the SIF_MaxBufferSize attribute in the SIF_Request message.</param> /// <param name="SifSleeping">This element shows whether the SIF node is ready to process messages.</param> ///<remarks> /// <para>This form of <c>setSIF_SIFNode</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddSIF_SIFNode</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void AddSIF_SIFNode(SIF_SIFNodeType Type, string SifName, string SifSourceId, SIFMode SifMode, int?SifMaxBufferSize, YesNo SifSleeping) { AddChild(InfraDTD.SIF_SIFNODES_SIF_SIFNODE, new SIF_SIFNode(Type, SifName, SifSourceId, SifMode, SifMaxBufferSize, SifSleeping)); }
/// <summary> /// Sets the value of the <c><SIF_Mode></c> element. /// </summary> /// <param name="val">A SIFMode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Specifies the communication mode (Pull or Push) as chosen by the message sender."</para> /// <para>Version: 2.5</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSIF_Mode( SIFMode val ) { SetField( InfraDTD.SIF_SIFNODE_SIF_MODE, val ); }
/// <summary> /// Sets the value of the <c><SIF_Mode></c> element. /// </summary> /// <param name="val">A SIFMode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Specifies the communication mode (Pull or Push) as chosen by the message sender."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSIF_Mode(SIFMode val) { SetField(InfraDTD.SIF_SIFNODE_SIF_MODE, val); }
/// <summary> /// Sets the value of the <c><SIF_Mode></c> element. /// </summary> /// <param name="val">A SIFMode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Specifies the communication mode (Pull or Push) as chosen by the message sender."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSIF_Mode(SIFMode val) { SetField(InfraDTD.SIF_REGISTER_SIF_MODE, val); }