using JT808.Gateway.Abstractions; using JT808.Gateway.Abstractions.Enums; using System; using System.Collections.Generic; using System.Text; namespace JT808.Gateway.InMemoryMQ { public class JT808MsgReplyConsumerFactory : IJT808MsgReplyConsumerFactory { private readonly Func factory; public JT808MsgReplyConsumerFactory(Func accesor) { factory = accesor; } public IJT808MsgReplyConsumer Create(JT808ConsumerType consumerType) { return factory(consumerType); } } }