public void NewTransaction(Context context, XComponent.TradeCapture.UserObject.Transaction transitionEvent, string privateTopic = null) { _internalCommunicationLayer.Send(context, transitionEvent, privateTopic); }
public void SendEvent(StdEnum stdEnum, XComponent.TradeCapture.UserObject.Transaction evt, string privateTopic = null) { _internalCommunicationLayer.SendEvent(stdEnum, evt, privateTopic); }
public void SendEvent(XComponent.TradeCapture.UserObject.Transaction evt, string privateTopic = null) { SendEvent(StdEnum.XCTradeProcessor, evt != null ? evt : new XComponent.TradeCapture.UserObject.Transaction(), privateTopic); }
public void SendEvent(StdEnum stateMachineEnum, XComponent.TradeCapture.UserObject.Transaction evt, string privateTopic = null) { var incomingEvent = new IncomingEvent(evt != null ? evt : new XComponent.TradeCapture.UserObject.Transaction(), IncomingEventType.Transition, HeaderFactory.Create(15, (int)stateMachineEnum, 183271270, privateTopic)); PostOnStateMachine(incomingEvent, stateMachineEnum); }
public void Send(Context context, XComponent.TradeCapture.UserObject.Transaction evt, string privateTopic = null) { var incomingEvent = new IncomingEvent(evt != null ? evt : new XComponent.TradeCapture.UserObject.Transaction(), IncomingEventType.Transition, HeaderFactory.Create(context, 15, privateTopic)); Agent.Post(_engineAgentsById[context.AgentId], incomingEvent); }