Examples of disconnect()


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

              e);
        }
      }

      try {
        connector.disconnect();
      } catch (OpenEnergyMonitorException e) {
        logger.error(
            "Error occured when disconnecting form Open Energy Monitor device",
            e);
      }
View Full Code Here

Examples of org.openhab.binding.swegonventilation.protocol.SwegonVentilationConnector.disconnect()

              e);
        }
      }

      try {
        connector.disconnect();
      } catch (SwegonVentilationException e) {
        logger.error(
            "Error occured when disconnecting form Swegon ventilation system",
            e);
      }
View Full Code Here

Examples of org.openoffice.idesupport.LocalOffice.disconnect()

    private void refreshOffice(String path) {
        ClassLoader syscl = TopManager.getDefault().currentClassLoader();
        LocalOffice office = LocalOffice.create(syscl, path, 8100);
        office.refreshStorage("file://" + path + "/program/../user");
        office.disconnect();
    }

    private void showNagDialog() {
        String message = "If you currently have Office running you will " +
            "need to click on the Tools/Scripting Add-on's/Refresh All Scripts " +
View Full Code Here

Examples of org.pentaho.di.repository.Repository.disconnect()

      finally
      {
        currentlyRunningTransformation = null;
        if (repository != null)
        {
          repository.disconnect();
        }
      }
    }
    finally
    {
View Full Code Here

Examples of org.projectforge.mail.MailAccount.disconnect()

          // log.info(mail);
        }
      }
      return counter;
    } finally {
      mailAccount.disconnect();
    }
  }

  public void setMebDao(MebDao mebDao)
  {
View Full Code Here

Examples of org.projectodd.stilts.stomp.client.StompClient.disconnect()

        Assert.assertTrue("No latch timeout", outboundLatch.await(10, TimeUnit.SECONDS));
        Assert.assertTrue("Contains msg1", outbound.contains("msg1"));
        Assert.assertTrue("Contains msg2", outbound.contains("msg2"));

        subscription.unsubscribe();
        client.disconnect();
    }

    @Test
    public void testSendWithTxCommit() throws Exception {
View Full Code Here

Examples of org.red5.server.api.IScopeHandler.disconnect()

      conns.remove(conn);
      IScopeHandler handler = null;
      if (hasHandler()) {
        handler = getHandler();
        try {
          handler.disconnect(conn, this);
        } catch (Exception e) {
          log.error("Error while executing \"disconnect\" for connection {} on handler {}. {}", new Object[]{conn, handler, e});
        }
      }
      if (conns.isEmpty()) {
View Full Code Here

Examples of org.red5.server.api.scope.IScopeHandler.disconnect()

    // remove it if it exists
    if (clients.remove(client)) {
      IScopeHandler handler = getHandler();
      if (handler != null) {
        try {
          handler.disconnect(conn, this);
        } catch (Exception e) {
          log.error("Error while executing \"disconnect\" for connection {} on handler {}. {}", new Object[] { conn, handler, e });
        }
        try {
          // there may be a timeout here ?
View Full Code Here

Examples of org.red5.server.net.mrtmp.IMRTMPConnection.disconnect()

    if (state.getState() == RTMP.STATE_DISCONNECTED) {
      return;
    }
    IMRTMPConnection conn = mrtmpManager.lookupMRTMPConnection(this);
    if (conn != null) {
      conn.disconnect(getId());
    }
    handler.closeConnection(this);
  }
 
  synchronized public void realClose() {
View Full Code Here

Examples of org.serviceconnector.net.connection.IConnection.disconnect()

      TestUtil.checkReply(cbk.getMessageSync(3000));
      if ((i + 1) % 10000 == 0) {
        testLogger.info("message nr " + (i + 1) + "...");
      }
    }
    connection.disconnect();
  }

  /**
   * The Class IdleCallback.
   */
 
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.