Example #1
0
 public void OnPortInfoRequested(Int64 eventId, Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
   if (PortInfoRequested != null)
   {
     foreach (PortInfoRequestedHandler portInfoRequestedHandler in PortInfoRequested.GetInvocationList())
     {
       try { portInfoRequestedHandler(eventId, requestId, guid, tag, portInfo); }
       catch (SocketException) { PortInfoRequested -= portInfoRequestedHandler; }
     }
   }
 }
Example #2
0
 public void ServiceGraphicPortInfoRequested(Int64 eventId, Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
   OnPortInfoRequested(eventId, requestId, guid, tag, portInfo);
 }
 public void DoPortInfoRequested(Int64 eventId, Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
     OnPortInfoRequested(eventId, requestId, guid, tag, portInfo);
 }
Example #4
0
 public bool RequestPortInfo(out Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
   return serviceGraphic.RequestPortInfo(out requestId, guid, tag, portInfo);
 }
Example #5
0
 public void OnPortInfoRequested(Int64 eventId, Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
     if (PortInfoRequested != null)
     {
         foreach (PortInfoRequestedHandler portInfoRequestedHandler in PortInfoRequested.GetInvocationList())
         {
             try { portInfoRequestedHandler(eventId, requestId, guid, tag, portInfo); }
             catch (SocketException) { PortInfoRequested -= portInfoRequestedHandler; }
         }
     }
 }
Example #6
0
    public bool EngineRequestPortInfo(out Int64 requestId, Guid guid, String tag, PortInfo portInfo)
      {
      this.requestId++;
      requestId = this.requestId;

      if (graphic.Nodes.ContainsKey(guid))
        {
        // Raise event(s).
        eventId++;
        clientClientServiceProtocol.DoPortInfoRequested(eventId, requestId, guid, tag, portInfo);

        return true;
        }
      else
        { // We're not going to do it.
        return false;
        }
      }
 public bool RequestPortInfo(out Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
     return(requestPortInfoHandler(out requestId, guid, tag, portInfo));
 }
 public bool RequestPortInfo(out Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
   return requestPortInfoHandler(out requestId, guid, tag, portInfo);
 }
Example #9
0
 private void fcFlowChart_PortInfoRequested(Int64 eventId, Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
   throw new NotImplementedException("The method or operation is not implemented.");
 }
Example #10
0
 public bool RequestPortInfo(out Int64 requestId, Guid guid, String tag, PortInfo portInfo)
 {
     return(serviceGraphic.RequestPortInfo(out requestId, guid, tag, portInfo));
 }