Examples of disconnect()


Examples of com.torrent4j.model.peer.TorrentPeer.disconnect()

            message.pieceIndex);
        final TorrentPieceBlock block = piece.getBlock(message.begin,
            message.length);
       
        if(peer.getTorrentPeer().getState().hasUploadRequestedBlock()) {
          peer.disconnect();
          return;
        }

        peer.getTorrentPeer().getState().setUploadRequestedBlock(block);
        peer.getTorrentPeer().getState()
View Full Code Here

Examples of com.ubx1.pdpscanner.server.database.MySQLConnection.disconnect()

        String cell = rs.getString("cell");
        if (rs.wasNull())
          cell = null;
        String creationDate = rs.getDate("creation_date").toString();

        conn.disconnect();

        HttpSession userSession = getThreadLocalRequest().getSession();

        userSession.setAttribute("id", id);
        userSession.setAttribute("name", name);
View Full Code Here

Examples of com.uwyn.drone.core.Bot.disconnect()

      // disconnect the bots
      bots_it = mBots.iterator();
      while (bots_it.hasNext())
      {
        bot = (Bot)bots_it.next();
        bot.disconnect();
      }
     
      fireFinished();
    }
    catch (CoreException e)
View Full Code Here

Examples of com.volantis.mcs.repository.RepositoryConnection.disconnect()

        RepositoryConnection connection = null;
        try {
            connection = repository.connect();
            accessor.initializeDevicePatternCache(connection);
            connection.disconnect();
            connection = null;
        } finally {
            if (connection != null) {
                connection.disconnect();
            }
View Full Code Here

Examples of com.volantis.mcs.repository.jdbc.JDBCRepositoryConnection.disconnect()

        try {
            connection = (JDBCRepositoryConnection) repository.connect();
            connection.getConnection();

        } finally {
            connection.disconnect();
        }

        return repository;
    }
View Full Code Here

Examples of com.xeiam.xchange.service.streaming.StreamingExchangeService.disconnect()

    executorService.shutdown();

    // Disconnect and exit
    System.out.println(Thread.currentThread().getName() + ": Disconnecting...");
    streamingExchangeService.disconnect();
    System.exit(0);
  }

  /**
   * Encapsulates some market data monitoring behavior
View Full Code Here

Examples of cz.cuni.mff.inetpaint.ConnectionManager.disconnect()

        addExistingAccount(username, server, password, savePasswordCB.isSelected());
       
        if(loginCB.isSelected()) {
            ConnectionManager man = ConnectionManager.getInstance();
            if(man.isLoggedIn()) {
                man.disconnect();
            }
           
            man.login(username, server, password, "", Mode.available);                  
        }
       
View Full Code Here

Examples of database.MySQLConnection.disconnect()

        + (numComments == -1 ? "NULL" : numComments)
        + ","
        + (numCodeDuplications == -1 ? "NULL" : numCodeDuplications)
        + "," + (numFiles == -1 ? "NULL" : numFiles) + ")");

    conn.disconnect();
  }
}
View Full Code Here

Examples of de.fu_berlin.inf.dpp.vcs.VCSAdapter.disconnect()

                    if (!Utils.isSWT())
                        log.trace("not in SWT thread");
                    if (activityType == VCSActivity.Type.Connect) {
                        vcs.connect(project, url, directory, progress);
                    } else if (activityType == VCSActivity.Type.Disconnect) {
                        vcs.disconnect(project, revision != null, progress);
                    } else if (activityType == VCSActivity.Type.Switch) {
                        vcs.switch_(resource, url, revision, progress);
                    } else if (activityType == VCSActivity.Type.Update) {
                        vcs.update(resource, revision, progress);
                    } else {
View Full Code Here

Examples of de.innovationgate.eclipse.editors.tml.TMLDocumentProvider.disconnect()

        MarkingHandler handler = it.next()
        handler.setWGAVersionCompliance(versionCompliance);
        handler.setDocumentProvider(provider);
        handler.createMarkers(file, provider.getDocument(input));       
      }     
      provider.disconnect(input);
    } catch (CoreException e) {
      Plugin.getDefault().logError("Unable to validate tml file '" + file.getLocation().toString() + "'.", 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.