Examples of StandardSocketFactory


Examples of ca.uhn.hl7v2.util.StandardSocketFactory

    super("Socket Acceptor", service);
    this.port = port;
    this.queue = queue;
    this.tls = tls;
    if (socketFactory == null) {
      socketFactory = new StandardSocketFactory();
    }
    this.socketFactory = socketFactory;
  }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

        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());
    }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

        VersionLogger.init();
        setParserConfiguration(parserConfiguration);
        setValidationRuleBuilder(builder);
        setModelClassFactory(modelClassFactory);
        setLowerLayerProtocol(new MinLowerLayerProtocol(false));
        setSocketFactory(new StandardSocketFactory());
        setProfileStore(ProfileStoreFactory.getProfileStore());
        setCodeStoreRegistry(new DefaultCodeStoreRegistry());
        setServerConfiguration(new ServerConfiguration());
    }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

    this.parser = parser;
    this.protocol = protocol;
    this.tls = tls;
    this.socketFactory = socketFactory;
    if (this.socketFactory == null) {
      this.socketFactory = new StandardSocketFactory();
    }
  }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

    if (myPort <= 0) {
      throw new IllegalStateException("Port not set");
    }
   
    myContext = new DefaultHapiContext();
    StandardSocketFactory socketFactory = new StandardSocketFactory();
    socketFactory.setAcceptedSocketTimeout(2000);
    myContext.setSocketFactory(socketFactory);
    myContext.setExecutorService(Executors.newCachedThreadPool(new MyThreadFactory()));
    myContext.setLowerLayerProtocol(new MinLowerLayerProtocol(true));
    myContext.setModelClassFactory(new GenericModelClassFactory());
    myServer = myContext.newServer(myPort, false);
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

        VersionLogger.init();
        setParserConfiguration(parserConfiguration);
        setValidationContext(validationContext);
        setModelClassFactory(modelClassFactory);
        setLowerLayerProtocol(new MinLowerLayerProtocol());
        setSocketFactory(new StandardSocketFactory());
        setValidationExceptionHandlerFactory(new ReportingValidationExceptionHandler(true));
        setProfileStore(ProfileStoreFactory.getProfileStore());
        setCodeStoreRegistry(new DefaultCodeStoreRegistry());
    }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

        VersionLogger.init();
        setParserConfiguration(parserConfiguration);
        setValidationRuleBuilder(builder);
        setModelClassFactory(modelClassFactory);
        setLowerLayerProtocol(new MinLowerLayerProtocol());
        setSocketFactory(new StandardSocketFactory());
        setProfileStore(ProfileStoreFactory.getProfileStore());
        setCodeStoreRegistry(new DefaultCodeStoreRegistry());
    }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

    super("Socket Acceptor", service);
    this.port = port;
    this.queue = queue;
    this.tls = tls;
    if (socketFactory == null) {
      socketFactory = new StandardSocketFactory();
    }
    this.socketFactory = socketFactory;
  }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

    this.parser = parser;
    this.protocol = protocol;
    this.tls = tls;
    this.socketFactory = socketFactory;
    if (this.socketFactory == null) {
      this.socketFactory = new StandardSocketFactory();
    }
  }
View Full Code Here

Examples of ca.uhn.hl7v2.util.StandardSocketFactory

    this.parser = parser;
    this.protocol = protocol;
    this.tls = tls;
    this.socketFactory = socketFactory;
    if (this.socketFactory == null) {
      this.socketFactory = new StandardSocketFactory();
    }
        this.lazy = lazy;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.