Ejemplo n.º 1
0
 public void SendEvent(XComponent.Referential.UserObject.Instrument evt, string privateTopic = null)
 {
     SendEvent(StdEnum.Referential, evt != null ? evt : new XComponent.Referential.UserObject.Instrument(), privateTopic);
 }
Ejemplo n.º 2
0
        public void SendEvent(StdEnum stateMachineEnum, XComponent.Referential.UserObject.Instrument evt, string privateTopic = null)
        {
            var incomingEvent = new IncomingEvent(evt != null ? evt : new XComponent.Referential.UserObject.Instrument(), IncomingEventType.Transition, HeaderFactory.Create(9, (int)stateMachineEnum, 1667656897, privateTopic));

            PostOnStateMachine(incomingEvent, stateMachineEnum);
        }
Ejemplo n.º 3
0
        public void Send(Context context, XComponent.Referential.UserObject.Instrument evt, string privateTopic = null)
        {
            var incomingEvent = new IncomingEvent(evt != null ? evt : new XComponent.Referential.UserObject.Instrument(), IncomingEventType.Transition, HeaderFactory.Create(context, 9, privateTopic));

            Agent.Post(_engineAgentsById[context.AgentId], incomingEvent);
        }
Ejemplo n.º 4
0
 public void SendEvent(StdEnum stdEnum, XComponent.Referential.UserObject.Instrument evt, string privateTopic = null)
 {
     _internalCommunicationLayer.SendEvent(stdEnum, evt, privateTopic);
 }
Ejemplo n.º 5
0
 public void AddInstrument(Context context, XComponent.Referential.UserObject.Instrument transitionEvent, string privateTopic = null)
 {
     _internalCommunicationLayer.Send(context, transitionEvent, privateTopic);
 }
 public void SendEvent(XComponent.Referential.UserObject.Instrument evt, string privateTopic = null)
 {
     _internalAPI.SendEvent(evt, privateTopic);
 }
 public void UpdateReferential(Context context, XComponent.Referential.UserObject.Instrument transitionEvent, string privateTopic = null)
 {
     _internalAPI.UpdateReferential(context, transitionEvent, privateTopic);
 }