Package ca.uhn.hl7v2.llp

Examples of ca.uhn.hl7v2.llp.MinLowerLayerProtocol


  private BlockingQueue<AcceptedSocket> queue;
  private AcceptorThread inboundAcceptor, outboundAcceptor;
  private final HapiContext hapiContext;

  public TwoPortService(int inboundPort, int outboundPort) {
    this(new PipeParser(), new MinLowerLayerProtocol(), inboundPort,
        outboundPort, false);
  }
View Full Code Here


    this(new PipeParser(), new MinLowerLayerProtocol(), inboundPort,
        outboundPort, false);
  }

  public TwoPortService(int inboundPort, int outboundPort, boolean tls) {
    this(new PipeParser(), new MinLowerLayerProtocol(), inboundPort,
        outboundPort, tls);
  }
View Full Code Here

  /**
   * Creates a new instance of SimpleServer that listens on the given port,
   * using the {@link MinLowerLayerProtocol} and a standard {@link PipeParser}.
   */
  public SimpleServer(int port) {
    this(port, new MinLowerLayerProtocol(), new PipeParser(), false);
  }
View Full Code Here

  /**
   * Creates a new instance of SimpleServer that listens on the given port,
   * using the {@link MinLowerLayerProtocol} and a standard {@link PipeParser}.
   */
  public SimpleServer(int port, boolean tls) {
    this(port, new MinLowerLayerProtocol(), new PipeParser(), tls);
 
View Full Code Here

      // set up connection to server
      String host = args[0];
      int port = Integer.parseInt(args[1]);

      final Parser parser = new PipeParser();
      LowerLayerProtocol llp = new MinLowerLayerProtocol();
      Connection connection = new ActiveConnection(parser, llp, new Socket(
          host, port));
      final Initiator initiator = connection.getInitiator();
      connection.activate();
      final String outText = "MSH|^~\\&|||||||ACK^^ACK|||R|2.4|\rMSA|AA";
View Full Code Here

  /**
   * Creates a new instance of SimpleServer that listens on the given port,
   * using the {@link MinLowerLayerProtocol} and a standard {@link PipeParser}.
   */
  public SimpleServer(int port) {
    this(port, new MinLowerLayerProtocol(), new PipeParser(), false);
  }
View Full Code Here

  /**
   * Creates a new instance of SimpleServer that listens on the given port,
   * using the {@link MinLowerLayerProtocol} and a standard {@link PipeParser}.
   */
  public SimpleServer(int port, boolean tls) {
    this(port, new MinLowerLayerProtocol(), new PipeParser(), tls);
 
View Full Code Here

  private BlockingQueue<AcceptedSocket> queue;
  private AcceptorThread inboundAcceptor, outboundAcceptor;
  private final HapiContext hapiContext;

  public TwoPortService(int inboundPort, int outboundPort) {
    this(new PipeParser(), new MinLowerLayerProtocol(), inboundPort,
        outboundPort, false);
  }
View Full Code Here

    this(new PipeParser(), new MinLowerLayerProtocol(), inboundPort,
        outboundPort, false);
  }

  public TwoPortService(int inboundPort, int outboundPort, boolean tls) {
    this(new PipeParser(), new MinLowerLayerProtocol(), inboundPort,
        outboundPort, tls);
  }
View Full Code Here

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

TOP

Related Classes of ca.uhn.hl7v2.llp.MinLowerLayerProtocol

Copyright © 2018 www.massapicom. 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.