예제 #1
0
        public OutputAdapterBase Create <TPayload>(ConsoleOutputConfig configInfo, Microsoft.ComplexEventProcessing.EventShape eventShape)
        {
            if (eventShape == Microsoft.ComplexEventProcessing.EventShape.Point)
            {
                return(new ConsolePointOutput <TPayload>(configInfo));
            }

            throw new NotImplementedException();
        }
예제 #2
0
        public InputAdapterBase Create <TPayload>(RabbitMQConfig configInfo, Microsoft.ComplexEventProcessing.EventShape eventShape)
        {
            switch (eventShape)
            {
            case Microsoft.ComplexEventProcessing.EventShape.Edge:
                throw new NotImplementedException();

            case Microsoft.ComplexEventProcessing.EventShape.Interval:
                throw new NotImplementedException();

            case Microsoft.ComplexEventProcessing.EventShape.Point:
                return(new RabbitMQInputAdapter(configInfo));
            }

            throw new NotImplementedException();
        }