Ejemplo n.º 1
0
 public TeleComSystem(
     IInbound binaryUdpInbound,
     IOutbound xmlTcpOutbound,
     IAcmeProcessingWorkflow acmeProcessingWorkflow)
 {
     _inbound            = binaryUdpInbound;
     _outbound           = xmlTcpOutbound;
     _processingWorkflow = acmeProcessingWorkflow;
 }
Ejemplo n.º 2
0
 //for tests
 public TeleComSystem(
     IProcessingWorkflow processingWorkflow,
     IInbound inbound,
     IOutbound outbound)
 {
     _processingWorkflow = processingWorkflow;
     _inbound            = inbound;
     _outbound           = outbound;
 }
Ejemplo n.º 3
0
        private static string Serialize(IOutbound message)
        {
            switch (message)
            {
            case Outbound.GetIdList getIdList:
                return(Serialize(getIdList));

            case Outbound.Read read:
                return(Serialize(read));

            default:
                return(string.Empty);
            }
        }
 public void SetOutbound(IOutbound outbound)
 {
     _outbound = outbound;
 }
Ejemplo n.º 5
0
 public TeleComSystem()
 {
     _inbound            = ApplicationRoot.Context.Resolve <IInbound>();
     _outbound           = ApplicationRoot.Context.Resolve <IOutbound>();
     _processingWorkflow = ApplicationRoot.Context.Resolve <IProcessingWorkflow>();
 }
Ejemplo n.º 6
0
 public TaskCreater(string station, IOutbound outbound) : base(outbound)
 {
     this.Station = station;
 }
Ejemplo n.º 7
0
        public Datagram Serialize(IOutbound message, string ipAddress)
        {
            string data = Serialize(message);

            return(new Datagram(data, ipAddress));
        }
Ejemplo n.º 8
0
 public OutstoreTask(IOutbound outbound)
 {
     this.Outbound = outbound;
 }