public AcceptorThread(int port, boolean tls, ExecutorService service, BlockingQueue<AcceptedSocket> queue, SocketFactory socketFactory) { super("Socket Acceptor", service); this.port = port; this.queue = queue; this.tls = tls; if (socketFactory == null) { socketFactory = new StandardSocketFactory(); } this.socketFactory = socketFactory; }
public AcceptorThread(int port, boolean tls, ExecutorService service, BlockingQueue<AcceptedSocket> queue, SocketFactory socketFactory) { super("Socket Acceptor", service); this.port = port; this.queue = queue; this.tls = tls; if (socketFactory == null) { socketFactory = new StandardSocketFactory(); } this.socketFactory = socketFactory; }
public ConnectionData(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol protocol, boolean tls, SocketFactory socketFactory, boolean lazy) { this.host = host; this.port = outboundPort; this.port2 = inboundPort; this.parser = parser; this.protocol = protocol; this.tls = tls; this.socketFactory = socketFactory; if (this.socketFactory == null) { this.socketFactory = new StandardSocketFactory(); } this.lazy = lazy; }
public ConnectionData(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol protocol, boolean tls, SocketFactory socketFactory, boolean lazy) { this.host = host; this.port = outboundPort; this.port2 = inboundPort; this.parser = parser; this.protocol = protocol; this.tls = tls; this.socketFactory = socketFactory; if (this.socketFactory == null) { this.socketFactory = new StandardSocketFactory(); } this.lazy = lazy; }
public DefaultHapiContext(ParserConfiguration parserConfiguration, ValidationRuleBuilder builder, ModelClassFactory modelClassFactory) { VersionLogger.init(); setParserConfiguration(parserConfiguration); setValidationRuleBuilder(builder); setModelClassFactory(modelClassFactory); setLowerLayerProtocol(new MinLowerLayerProtocol(false)); setSocketFactory(new StandardSocketFactory()); setProfileStore(ProfileStoreFactory.getProfileStore()); setCodeStoreRegistry(new DefaultCodeStoreRegistry()); setServerConfiguration(new ServerConfiguration()); }
public DefaultHapiContext(ParserConfiguration parserConfiguration, ValidationRuleBuilder builder, ModelClassFactory modelClassFactory) { VersionLogger.init(); setParserConfiguration(parserConfiguration); setValidationRuleBuilder(builder); setModelClassFactory(modelClassFactory); setLowerLayerProtocol(new MinLowerLayerProtocol(false)); setSocketFactory(new StandardSocketFactory()); setProfileStore(ProfileStoreFactory.getProfileStore()); setCodeStoreRegistry(new DefaultCodeStoreRegistry()); setServerConfiguration(new ServerConfiguration()); }
public DefaultHapiContext(ParserConfiguration parserConfiguration, ValidationContext validationContext, ModelClassFactory modelClassFactory) { VersionLogger.init(); setParserConfiguration(parserConfiguration); setValidationContext(validationContext); setModelClassFactory(modelClassFactory); setLowerLayerProtocol(new MinLowerLayerProtocol(false)); setSocketFactory(new StandardSocketFactory()); setValidationExceptionHandlerFactory(new ReportingValidationExceptionHandler(true)); setProfileStore(ProfileStoreFactory.getProfileStore()); setCodeStoreRegistry(new DefaultCodeStoreRegistry()); setServerConfiguration(new ServerConfiguration()); }
public DefaultHapiContext(ParserConfiguration parserConfiguration, ValidationContext validationContext, ModelClassFactory modelClassFactory) { VersionLogger.init(); setParserConfiguration(parserConfiguration); setValidationContext(validationContext); setModelClassFactory(modelClassFactory); setLowerLayerProtocol(new MinLowerLayerProtocol(false)); setSocketFactory(new StandardSocketFactory()); setValidationExceptionHandlerFactory(new ReportingValidationExceptionHandler(true)); setProfileStore(ProfileStoreFactory.getProfileStore()); setCodeStoreRegistry(new DefaultCodeStoreRegistry()); setServerConfiguration(new ServerConfiguration()); }