示例#1
0
 /// <summary>
 /// Send the failure message to our own app instance
 /// </summary>
 /// <param name="appInstance">An app instance</param>
 public override void VisitAppInstance(AppInstance appInstance)
 {
     if (appInstance == this.Instance)
     {
         appInstance.Send("MSG_GENERAL_FAILURE " + Failure.Serialize());
     }
 }
示例#2
0
 /// <summary>
 /// Send a message to this app instance that manifest failed
 /// </summary>
 /// <param name="appInstance">the app instance to visit</param>
 public override void VisitAppInstance(AppInstance appInstance)
 {
     if (appInstance == instance)
     {
         appInstance.Send("APP_MANIFEST_FAIL " + Fail.Serialize());
         appInstance.Disconnect();
     }
 }
示例#3
0
 private void sendQueryTo(AppInstance other)
 {
     var toSend = "MSG_QUERY " + this.query.Serialize();
     other.Send(toSend);
 }