internal JmfBuilderBase(XElement element) {
            ParameterCheck.ParameterRequired(element, "element");
            element.ThrowExceptionIfNotInMessage();

            Element = element;
            ParentJmfNode = new JmfNodeBuilder(element.Document as Message);
        }
Exemple #2
0
        internal JmfBuilderBase(XElement element)
        {
            ParameterCheck.ParameterRequired(element, "element");
            element.ThrowExceptionIfNotInMessage();

            Element       = element;
            ParentJmfNode = new JmfNodeBuilder(element.Document as Message);
        }
        internal  CommandBuilder(JmfNodeBuilder parent, string commandType, string idPrefix = "C") : base(parent) {
            ParameterCheck.StringRequiredAndNotWhitespace(commandType, "commandType");
            ParameterCheck.StringRequiredAndNotWhitespace(idPrefix, "idPrefix");

            this.commandType = commandType;
            
            Element = new XElement(LinqToJdf.Element.Command);
            Element.SetUniqueId(idPrefix);
            Element.SetMessageType(commandType);
            Element.SetXsiType(Command.XsiType(commandType));
            parent.Element.Add(Element);
        }
        internal  QueryBuilder(JmfNodeBuilder parent, string queryType, string idPrefix = "Q") : base(parent) {
            ParameterCheck.StringRequiredAndNotWhitespace(queryType, "queryType");
            ParameterCheck.StringRequiredAndNotWhitespace(idPrefix, "idPrefix");

            this.queryType = queryType;
            
            Element = new XElement(LinqToJdf.Element.Query);
            Element.SetUniqueId(idPrefix);
            Element.SetMessageType(queryType);
            Element.SetXsiType(Query.XsiType(queryType));
            parent.Element.Add(Element);
        }
Exemple #5
0
        internal CommandBuilder(JmfNodeBuilder parent, string commandType, string idPrefix = "C") : base(parent)
        {
            ParameterCheck.StringRequiredAndNotWhitespace(commandType, "commandType");
            ParameterCheck.StringRequiredAndNotWhitespace(idPrefix, "idPrefix");

            this.commandType = commandType;

            Element = new XElement(LinqToJdf.Element.Command);
            Element.SetUniqueId(idPrefix);
            Element.SetMessageType(commandType);
            Element.SetXsiType(Command.XsiType(commandType));
            parent.Element.Add(Element);
        }
Exemple #6
0
        internal QueryBuilder(JmfNodeBuilder parent, string queryType, string idPrefix = "Q") : base(parent)
        {
            ParameterCheck.StringRequiredAndNotWhitespace(queryType, "queryType");
            ParameterCheck.StringRequiredAndNotWhitespace(idPrefix, "idPrefix");

            this.queryType = queryType;

            Element = new XElement(LinqToJdf.Element.Query);
            Element.SetUniqueId(idPrefix);
            Element.SetMessageType(queryType);
            Element.SetXsiType(Query.XsiType(queryType));
            parent.Element.Add(Element);
        }
		internal RepeatMessagesQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.RepeatMessages, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
Exemple #8
0
 internal ResumeQueueEntryCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.ResumeQueueEntry, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal NodeInfoQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.NodeInfo, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal ResourceQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.Resource, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal SetQueueEntryPriorityCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.SetQueueEntryPriority, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal TrackQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.Track, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
Exemple #13
0
 internal JmfBuilderBase(JmfNodeBuilder parentJmfBuilder)
 {
     ParentJmfNode = parentJmfBuilder;
 }
		internal OccupationQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.Occupation, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
 internal StopPersistentChannelCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.StopPersistentChannel, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal EventsQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.Events, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
Exemple #17
0
 internal GenericJmfBuilder(JmfNodeBuilder parentJmfBuilder) : base(parentJmfBuilder)
 {
 }
 internal RepeatMessagesQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.RepeatMessages, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
Exemple #19
0
 internal ResourceCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.Resource, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
 internal ResourceQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.Resource, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
 internal JmfBuilderBase(JmfNodeBuilder parentJmfBuilder) {
     ParentJmfNode = parentJmfBuilder;
 }
Exemple #22
0
 internal OccupationQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.Occupation, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
Exemple #23
0
 internal EventsQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.Events, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal ShutDownCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.ShutDown, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
 internal NewJDFCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.NewJDF, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
 internal QueueEntryStatusQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.QueueEntryStatus, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal NewJDFCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.NewJDF, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
 internal WakeUpCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.WakeUp, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
Exemple #29
0
 internal KnownDevicesQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.KnownDevices, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal ForceGangQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.ForceGang, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
 internal CommandTypeBuilder(JmfNodeBuilder jmfBuilder)
     : base(jmfBuilder)
 {
 }
Exemple #32
0
 internal FlushQueueQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.FlushQueue, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal QueueEntryStatusQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.QueueEntryStatus, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal StopPersistentChannelCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.StopPersistentChannel, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal RequestForAuthenticationCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.RequestForAuthentication, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
 internal RequestForAuthenticationQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.RequestForAuthentication, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
 internal ModifyNodeCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.ModifyNode, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
Exemple #38
0
 internal PipePushCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.PipePush, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal KnownDevicesQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.KnownDevices, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
Exemple #40
0
 internal NewJDFQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.NewJDF, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
 internal GenericJmfBuilder(JmfNodeBuilder parentJmfBuilder) : base(parentJmfBuilder) {
 }
        internal JmfNodeAttributeBuilder(JmfNodeBuilder jmfBuilder)
        {
            ParameterCheck.ParameterRequired(jmfBuilder, "JmfBuilder");

            this.jmfBuilder = jmfBuilder;
        }
Exemple #43
0
 internal SetQueueEntryPriorityCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.SetQueueEntryPriority, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
        internal MessageTypeBuilder(JmfNodeBuilder jmfBuilder) {
            ParameterCheck.ParameterRequired(jmfBuilder, "JmfBuilder");

            ParentJmf = jmfBuilder;
        }
Exemple #45
0
 internal ForceGangCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.ForceGang, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal ModifyNodeCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.ModifyNode, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal PipePushCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.PipePush, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
        internal JmfNodeAttributeBuilder(JmfNodeBuilder jmfBuilder) {
            ParameterCheck.ParameterRequired(jmfBuilder, "JmfBuilder");

            this.jmfBuilder = jmfBuilder;
        }
		internal FlushQueueCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.FlushQueue, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
 internal ForceGangQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.ForceGang, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal WakeUpCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.WakeUp, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
 internal CommandTypeBuilder(JmfNodeBuilder jmfBuilder)
     : base(jmfBuilder) {
 }
        internal MessageTypeBuilder(JmfNodeBuilder jmfBuilder)
        {
            ParameterCheck.ParameterRequired(jmfBuilder, "JmfBuilder");

            ParentJmf = jmfBuilder;
        }
Exemple #54
0
 internal TrackQueryBuilder(JmfNodeBuilder parent)
     : base(parent, Query.Track, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal ResourceCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.Resource, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal ForceGangCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.ForceGang, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
		internal SuspendQueueEntryCommandBuilder(JmfNodeBuilder parent)
			: base(parent, Command.SuspendQueueEntry, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}
Exemple #58
0
 internal ShutDownCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.ShutDown, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
Exemple #59
0
 internal CloseQueueCommandBuilder(JmfNodeBuilder parent)
     : base(parent, Command.CloseQueue, IdPrefix)
 {
     ParameterCheck.ParameterRequired(parent, "parent");
 }
		internal SubmissionMethodsQueryBuilder(JmfNodeBuilder parent)
			: base(parent, Query.SubmissionMethods, IdPrefix) {
			ParameterCheck.ParameterRequired(parent, "parent");
		}