Examples of connect()


Examples of org.neo4j.management.InstanceInfo.connect()

        InstanceInfo[] instances = ha.getInstancesInCluster();
        assertNotNull( instances );
        assertEquals( 1, instances.length );
        InstanceInfo instance = instances[0];
        assertNotNull( instance );
        Pair<Neo4jManager, HighAvailability> proc = instance.connect();
        assertNotNull( "could not connect", proc );
        neo4j = proc.first();
        ha = proc.other();
        assertNotNull( neo4j );
        assertNotNull( ha );
View Full Code Here

Examples of org.newsclub.net.unix.AFUNIXSocket.connect()

       //Stop signal to the boss thread
       this.bossInstance.stop();
       //Send a dummy request to actually stop the thread.
       AFUNIXSocket sock = AFUNIXSocket.newInstance();
       try {
         sock.connect(new AFUNIXSocketAddress(this.socketFile));
       } catch (AFUNIXSocketException e) {
         logger.warn("Failed to connect to Socket while sending a stop request.");
       }
       //Close the socket
       channel.socket.close();
View Full Code Here

Examples of org.objectstyle.wolips.wodclipse.core.document.WodFileDocumentProvider.connect()

  }

  public static void validateWodFile(IFile wodFile, LocalizedComponentsLocateResult locateResults, TypeCache typeCache, HtmlElementCache htmlCache) throws CoreException {
    FileEditorInput input = new FileEditorInput(wodFile);
    WodFileDocumentProvider provider = new WodFileDocumentProvider();
    provider.connect(input);
    try {
      IDocument document = provider.getDocument(input);
      WodModelUtils.validateWodDocument(document, locateResults, typeCache, htmlCache);
    }
    finally {
View Full Code Here

Examples of org.omg.CORBA.ORB.connect()

    // Initializing ORB/POA and server object
    final ORB server_orb = ORB.init(new String[ 0 ], null);

    rf11Servant servant = new rf11Servant();

    server_orb.connect(servant);

    // Writing stringified IOR to file specified by IORfilename
    String ior = server_orb.object_to_string(servant);

    new Thread()
View Full Code Here

Examples of org.openadaptor.adaptor.ldap.LDAP.connect()

      return false;
    }
    url += searchBase;
    LDAP testLDAP = new LDAP(url, userName, password);
    try {
      testLDAP.connect();
    } catch (NamingException ne) {
      ne.printStackTrace();
      return false;
    }
    System.out.println("Test of " + url + "worked");
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.NodeFigure.connect()

   * @return The new figure or null on error
   */
  public NodeFigure createNodeFigure(Node node)
  {
    NodeFigure figure = (NodeFigure) ProcessElementFigureRegistry.getInstance().createProcessElementContainer(node);
    figure.connect(node, this);
    return figure;
  }

  /**
   * Creates a text element figure based on the given text element.
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.TextElementFigure.connect()

   * @return The new figure or null on error
   */
  public TextElementFigure createTextElementFigure(TextElement textElement)
  {
    TextElementFigure figure = new TextElementFigure();
    figure.connect(textElement, this);
    return figure;
  }

  /**
   * Creates a new flow connection based on the given control link.
View Full Code Here

Examples of org.openbp.guiclient.remote.ServerConnection.connect()

    // By default, use an anonymous login
    ServerConnection connection = ServerConnection.getInstance();
    connection.setLoginInfo(new ClientLoginInfo("Anonymous", null));
    try
    {
      connection.connect(true);
    }
    catch (OpenBPException e)
    {
      // Show dialog box if the user has not chose to skip it before
      if (! SettingUtil.getBooleanSetting("openbp.cockpit.connectionwarning.hide", false))
View Full Code Here

Examples of org.openhab.binding.nibeheatpump.protocol.NibeHeatPumpConnector.connect()

      } else {
        connector = new NibeHeatPumpUDPConnector(udpPort);
      }
     
      try {
        connector.connect();
      } catch (NibeHeatPumpException e) {
        logger.error("Error occured when connecting to heat pump", e);
       
        logger.warn("Closing Nibe heatpump message listener");
View Full Code Here

Examples of org.openhab.binding.openenergymonitor.protocol.OpenEnergyMonitorConnector.connect()

        connector = new OpenEnergyMonitorSerialConnector(serialPort);
      else
        connector = new OpenEnergyMonitorUDPConnector(udpPort);

      try {
        connector.connect();
      } catch (OpenEnergyMonitorException e) {
        logger.error(
            "Error occured when connecting to Open Energy Monitor device",
            e);
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.