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

            FOutput.SliceCount = 1;
            FOutput[0]         = link;
            FOutput.Flush();
        }
Example #4
0
 private void FInClient_Disconnected(object sender, PinConnectionEventArgs args)
 {
     if (FClient != null)
     {
         FClient.MqttMsgPublished -= FClient_MqttMsgPublished;
         FClient = null;
     }
 }
Example #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;
     }
 }
 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;
 }
Example #7
0
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
Example #8
0
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
Example #9
0
 void FInState_Connected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = true;
 }
Example #10
0
 void FGeometry_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = false;
 }
Example #11
0
 void FGeometry_Connected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = true;
 }
Example #12
0
        private void disconnect(object sender, PinConnectionEventArgs args)
        {
            FAgents.Clear();

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

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