コード例 #1
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="connection">TBD</param>
 /// <param name="logic">TBD</param>
 public void AttachUpstreamBoundary(int connection, UpstreamBoundaryStageLogic logic)
 => AttachUpstreamBoundary(Connections[connection], logic);
コード例 #2
0
 /// <summary>
 /// Assign the boundary logic to a given connection. This will serve as the interface to the external world
 /// (outside the interpreter) to process and inject events.
 /// </summary>
 public void AttachUpstreamBoundary(int connection, UpstreamBoundaryStageLogic logic)
 {
     logic.PortToConn[logic.Out.Id + logic.InCount] = connection;
     logic.Interpreter = this;
     OutHandlers[connection] = (OutHandler)logic.Handlers[0];
 }
コード例 #3
0
 /// <summary>
 /// Assign the boundary logic to a given connection. This will serve as the interface to the external world
 /// (outside the interpreter) to process and inject events.
 /// </summary>
 /// <param name="connection">TBD</param>
 /// <param name="logic">TBD</param>
 public void AttachUpstreamBoundary(Connection connection, UpstreamBoundaryStageLogic logic)
 {
     logic.PortToConn[logic.Out.Id + logic.InCount] = connection;
     logic.Interpreter     = this;
     connection.OutHandler = (IOutHandler)logic.Handlers[0];
 }