Esempio n. 1
0
        public ClientScript(ClientProcess clientProcess, ScriptDescriptor scriptDescriptor)
        {
            _clientProcess    = clientProcess;
            _scriptDescriptor = scriptDescriptor;

            _messages = new Exception[_scriptDescriptor.Messages.Count];
            for (int index = 0; index < _scriptDescriptor.Messages.Count; index++)
            {
                _messages[index] = DataphorFaultUtility.FaultToException(_scriptDescriptor.Messages[index]);
            }

            foreach (BatchDescriptor batchDescriptor in _scriptDescriptor.Batches)
            {
                _clientBatches.Add(new ClientBatch(this, batchDescriptor));
            }
        }
Esempio n. 2
0
 public ClientStream(ClientProcess clientProcess, int streamHandle)
 {
     _clientProcess = clientProcess;
     _streamHandle  = streamHandle;
 }
Esempio n. 3
0
 public ClientPlan(ClientProcess clientProcess, PlanDescriptor planDescriptor)
 {
     _clientProcess  = clientProcess;
     _planDescriptor = planDescriptor;
 }
Esempio n. 4
0
 public ClientStatementPlan(ClientProcess clientProcess, PlanDescriptor planDescriptor) : base(clientProcess, planDescriptor)
 {
 }
Esempio n. 5
0
 public ClientExpressionPlan(ClientProcess clientProcess, PlanDescriptor planDescriptor) : base(clientProcess, planDescriptor)
 {
 }