public AzureBus( IAzureNetQLogger logger, IConventions conventions, IRpc rpc, ISendReceive sendReceive, IAzureAdvancedBus advancedBus, IConnectionConfiguration connectionConfiguration, ISerializer serializer) { Preconditions.CheckNotNull(logger, "logger"); Preconditions.CheckNotNull(conventions, "conventions"); Preconditions.CheckNotNull(rpc, "rpc"); Preconditions.CheckNotNull(sendReceive, "sendReceive"); Preconditions.CheckNotNull(advancedBus, "advancedBus"); Preconditions.CheckNotNull(connectionConfiguration, "connectionConfiguration"); Preconditions.CheckNotNull(serializer, "serializer"); this.logger = logger; this.conventions = conventions; this.rpc = rpc; this.sendReceive = sendReceive; this.advancedBus = advancedBus; this.connectionConfiguration = connectionConfiguration; this.serializer = serializer; this.exceptionHandler = new ExceptionHandler(logger); }
public SendReceive( IAzureAdvancedBus advancedBus, IConnectionConfiguration connectionConfiguration, IHandlerCollectionFactory handlerCollectionFactory, ITypeNameSerializer typeNameSerializer, ISerializer serializer) { Preconditions.CheckNotNull(advancedBus, "advancedBus"); Preconditions.CheckNotNull(connectionConfiguration, "connectionConfiguration"); Preconditions.CheckNotNull(handlerCollectionFactory, "handlerCollectionFactory"); Preconditions.CheckNotNull(typeNameSerializer, "typeNameSerializer"); Preconditions.CheckNotNull(serializer, "serializer"); this.advancedBus = advancedBus; this.handlerCollectionFactory = handlerCollectionFactory; this.typeNameSerializer = typeNameSerializer; this.serializer = serializer; }
public Rpc( IConventions conventions, IAzureAdvancedBus advancedBus, IConnectionConfiguration connectionConfiguration, ISerializer serializer, IAzureNetQLogger logger) { Preconditions.CheckNotNull(conventions, "conventions"); Preconditions.CheckNotNull(advancedBus, "advancedBus"); Preconditions.CheckNotNull(connectionConfiguration, "configuration"); Preconditions.CheckNotNull(serializer, "serializer"); Preconditions.CheckNotNull(logger, "logger"); this.conventions = conventions; this.advancedBus = advancedBus; this.connectionConfiguration = connectionConfiguration; this.serializer = serializer; this.logger = logger; this.exceptionHandler = new ExceptionHandler(this.logger); }