public IHandlerContainer GetServiceMethodHandlerContainer()
 {
     return(handlerContainer ?? (handlerContainer =
                                     overrides.ServiceMethodHandlerContainer != null
                                                  ? overrides.ServiceMethodHandlerContainer(this)
                                                  : new HandlerContainer(GetServiceMethodHandlerFactory())));
 }
Exemplo n.º 2
0
 public SapIntegrationHandlerServer(
     IRemoteConnection remoteConnection,
     ILogger parentLogger,
     IHandlerContainer handlerContainer)
     : base(remoteConnection, parentLogger, SapIntegrationHandlerServerInfo.HandlerName, handlerContainer)
 {
     _handlerInfo = new SapIntegrationHandlerServerInfo();
 }
 public IncomingRequestProcessor(ILogger logger, IServiceImplementationContainer serviceImplementationContainer,
                                 IHandlerContainer handlerContainer, ICodecContainer codecContainer)
 {
     this.logger = logger;
     this.serviceImplementationContainer = serviceImplementationContainer;
     this.handlerContainer = handlerContainer;
     exceptionCodec        = codecContainer.GetManualCodecFor <Exception>();
 }
 public IncomingRequestProcessor(ILogger logger, IServiceImplementationContainer serviceImplementationContainer, 
     IHandlerContainer handlerContainer, ICodecContainer codecContainer)
 {
     this.logger = logger;
     this.serviceImplementationContainer = serviceImplementationContainer;
     this.handlerContainer = handlerContainer;
     exceptionCodec = codecContainer.GetManualCodecFor<Exception>();
 }
Exemplo n.º 5
0
 public ArchiveHandlerServer(
     IRemoteConnection remoteConnection,
     ILogger parentLogger,
     IHandlerContainer handlerContainer)
     : base(remoteConnection, parentLogger, ArchiveHandlerServerInfo.HandlerName, handlerContainer)
 {
     _handlerInfo = new ArchiveHandlerServerInfo();
 }
 public void Setup()
 {
     factory   = Substitute.For <IHandlerFactory>();
     container = new HandlerContainer(factory);
 }
 public IHandlerContainer GetServiceMethodHandlerContainer()
 {
     return handlerContainer ?? (handlerContainer =
                                              overrides.ServiceMethodHandlerContainer != null
                                                  ? overrides.ServiceMethodHandlerContainer(this)
                                                  : new HandlerContainer(GetServiceMethodHandlerFactory()));
 }
Exemplo n.º 8
0
 public TroHelpersHandlerServer(
     IRemoteConnection remoteConnection, ILogger parentLogger, IHandlerContainer handlerContainer)
     : base(remoteConnection, parentLogger, TroHelpersHandlerServerInfo.HandlerName, handlerContainer)
 {
     _handlerInfo = new TroHelpersHandlerServerInfo();
 }
 public void Setup()
 {
     factory = Substitute.For<IHandlerFactory>();
     container = new HandlerContainer(factory);
 }