Ejemplo n.º 1
0
 protected virtual void OnDisconnected(PinConnectionEventArgs args)
 {
     if (FDisconnected != null)
     {
         FDisconnected(this, args);
     }
 }
Ejemplo n.º 2
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublished += FClient_MqttMsgPublished;
     }
 }
Ejemplo n.º 3
0
        private void disconnect(object sender, PinConnectionEventArgs args)
        {
            FAgents.Clear();

            FOutput.SliceCount = 1;
            FOutput[0]         = link;
            FOutput.Flush();
        }
Ejemplo n.º 4
0
 private void FInClient_Disconnected(object sender, PinConnectionEventArgs args)
 {
     if (FClient != null)
     {
         FClient.MqttMsgPublished -= FClient_MqttMsgPublished;
         FClient = null;
     }
 }
Ejemplo n.º 5
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient.Count() > 0 && FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublishReceived += FClient_MqttMsgPublishReceived;
         FClient.MqttMsgSubscribed      += FClient_MqttMsgSubscribed;
         FClient.MqttMsgUnsubscribed    += FClient_MqttMsgUnsubscribed;
     }
 }
Ejemplo n.º 6
0
 void FSource_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.invalidateconnect = true;
     if (this.oldsource != null)
     {
         this.oldsource.BeginQuery -= new DX11QueryableDelegate(AbstractQueryNode_BeginQuery);
         this.oldsource.EndQuery   -= new DX11QueryableDelegate(AbstractQueryNode_EndQuery);
     }
     this.oldsource = null;
 }
Ejemplo n.º 7
0
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
Ejemplo n.º 8
0
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
Ejemplo n.º 9
0
 void FInState_Connected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = true;
 }
Ejemplo n.º 10
0
 void FGeometry_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = false;
 }
Ejemplo n.º 11
0
 void FGeometry_Connected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = true;
 }
Ejemplo n.º 12
0
        private void disconnect(object sender, PinConnectionEventArgs args)
        {
            FAgents.Clear();

            FOutput.SliceCount = 1;
            FOutput[0] = link;
            FOutput.Flush();
        }
Ejemplo n.º 13
0
 void FSource_Connected(object sender, PinConnectionEventArgs args)
 {
     this.invalidateconnect = true;
 }
Ejemplo n.º 14
0
 void FInState_Connected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = true;
 }
Ejemplo n.º 15
0
 void FGeometry_Connected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = true;
 }
Ejemplo n.º 16
0
 private void connect(object sender, PinConnectionEventArgs args)
 {
     FInput.Sync();
 }
Ejemplo n.º 17
0
        private void pin_Connected(object sender, PinConnectionEventArgs args)
        {
            IPin2 sink = sender as IPin2;

            this.SetLink(sink.InternalCOMInterf, args.OtherPin, false);
        }
Ejemplo n.º 18
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublished += FClient_MqttMsgPublished;
     }
 }
Ejemplo n.º 19
0
 void FInEngine_CnnEvent(object sender, PinConnectionEventArgs args)
 {
     this.FInvalidateConnect = true;
 }
Ejemplo n.º 20
0
 private void FInClient_Disconnected(object sender, PinConnectionEventArgs args)
 {
     if (FClient != null)
     {
         FClient.MqttMsgPublished -= FClient_MqttMsgPublished;
         FClient = null;
     }
 }
Ejemplo n.º 21
0
 void FGeometry_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = false;
 }
Ejemplo n.º 22
0
 private void FShaderProvider_Connected(object sender, PinConnectionEventArgs args)
 {
     RecalcShader(false);
 }
Ejemplo n.º 23
0
 protected void connect(object sender, PinConnectionEventArgs args)
 {
     ( (Pin<BehaviorLink>) sender).Sync();
 }
Ejemplo n.º 24
0
 private void Input_Disconnected(object sender, PinConnectionEventArgs args)
 {
     FLogger.Log(LogType.Debug, "DisConnected");
     init = true;
 }
Ejemplo n.º 25
0
 private void connect(object sender, PinConnectionEventArgs args)
 {
     FInput.Sync();
 }
Ejemplo n.º 26
0
 private void Input_Connected(object sender, PinConnectionEventArgs args)
 {
     FLogger.Log(LogType.Debug, "connected");
 }
Ejemplo n.º 27
0
 protected void connect(object sender, PinConnectionEventArgs args)
 {
     ((Pin <BehaviorLink>)sender).Sync();
 }
Ejemplo n.º 28
0
 private void OnConnected(object sender, PinConnectionEventArgs args)
 {
     reset = true;
 }