Examples of open()


Examples of net.kuujo.vertigo.io.stream.OutputStream.open()

          // list only once the stream has been successfully opened.
          // The update lock by the task runner will ensure that we don't
          // accidentally open up two of the same stream even if the
          // configuration is updated again.
          for (final OutputStream stream : newStreams) {
            stream.open(new Handler<AsyncResult<Void>>() {
              @Override
              public void handle(AsyncResult<Void> result) {
                if (result.failed()) {
                  log.error(String.format("%s - Failed to open output stream: %s", DefaultOutputPort.this, stream));
                } else {
View Full Code Here

Examples of net.kuujo.vertigo.io.stream.impl.DefaultOutputStream.open()

          // on a closed stream.
          for (OutputStreamContext output : context.streams()) {
            final OutputStream stream = new DefaultOutputStream(vertx, output);
            stream.setSendQueueMaxSize(maxQueueSize);
            stream.drainHandler(drainHandler);
            stream.open(new Handler<AsyncResult<Void>>() {
              @Override
              public void handle(AsyncResult<Void> result) {
                if (result.failed()) {
                  log.error(String.format("%s - Failed to open output stream: %s", DefaultOutputPort.this, stream));
                  counter.fail(result.cause());
View Full Code Here

Examples of net.schmizz.sshj.connection.channel.direct.SessionChannel.open()

    @Override
    public Session startSession()
            throws ConnectionException, TransportException {
        assert isConnected() && isAuthenticated();
        final SessionChannel sess = new SessionChannel(conn);
        sess.open();
        assert sess.isOpen();
        return sess;
    }

    /**
 
View Full Code Here

Examples of net.sf.jiga.xtended.ui.JFCApplet.open()

                    }
                });
                fApplication.setOpenFileHandler(new OpenFilesHandler() {

                    public void openFiles(AppEvent.OpenFilesEvent ofe) {
                        applet.open(ofe.getSearchTerm());
                    }
                });
                fApplication.setOpenURIHandler(new OpenURIHandler() {

                    public void openURI(AppEvent.OpenURIEvent ourie) {
View Full Code Here

Examples of net.sf.jiga.xtended.ui.JFCFrame.open()

                        qr.performQuit();
                    }
                });
                fApplication.setOpenFileHandler(new OpenFilesHandler() {
                    public void openFiles(AppEvent.OpenFilesEvent ofe) {
                        frame.open(ofe.getSearchTerm());
                    }
                });
                fApplication.setOpenURIHandler(new OpenURIHandler() {
                    public void openURI(AppEvent.OpenURIEvent ourie) {
                        frame.open(ourie.getURI());
View Full Code Here

Examples of net.sf.joafip.service.IDataAccessSession.open()

    builder.build();
    final IDataAccessSession session = filePersistence
        .createDataAccessSession();

    /* store new item table (empty) */
    session.open();
    ItemTable itemTable = new ItemTable();
    session.setObject(ITEM_TABLE, itemTable);
    session.close(EnumFilePersistenceCloseAction.SAVE);

    /* populate item table */
 
View Full Code Here

Examples of net.sf.joafip.service.IExclusiveDataAccessSession.open()

    filePersistence.setAutoSaveEventListener(this);
    final IExclusiveDataAccessSession session = filePersistence
        .createExclusiveDataAccessSession();
    final IInstanceFactory instanceFactory = session.getInstanceFactory();

    session.open();
    final Tree<String> tree = Tree.newInstance(instanceFactory);
    appendLoop(tree);
    session.close();
    filePersistence.close();
  }
View Full Code Here

Examples of net.sf.jpluck.http.HttpCache.open()

        public void actionPerformed(ActionEvent ev) {
            HttpCache httpCache = ClientConfiguration.getDefault().getHttpCache();
            if (httpCache != null) {
                setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                httpCache.open();
                httpCache.shutdownCompact();
                setCursor(Cursor.getDefaultCursor());
            }
        }
    }
View Full Code Here

Examples of net.sf.logsaw.ui.dialogs.FilterSettingsDialog.open()

      // Add restriction provided by Quick Filter
      boolean added = addNewRestriction(list, event, log);
     
      FilterSettingsDialog dlg = new FilterSettingsDialog(
          Display.getDefault().getActiveShell(), log, list, added);
      if (dlg.open() == Window.OK) {
        // Update input and refresh editor view
        rest.setRestrictions(dlg.getRestrictions());
        editor.goToPage(1);
       
        // Request re-evaluation
View Full Code Here

Examples of net.sf.myway.calibrator.ui.dialog.RenameDialog.open()

          .getFirstElement();
        final String oldName = obj instanceof Folder ? ((Folder) obj).getName()
          : obj instanceof ScannedMap ? ((ScannedMap) obj).getName() : ""; //$NON-NLS-1$
        final RenameDialog renameDialog = new RenameDialog(shell, oldName);
        renameDialog.setBlockOnOpen(true);
        renameDialog.open();
        final String newName = renameDialog.getNewName();
        if (newName != null) {
          if (obj instanceof Folder) {
            final Folder f = (Folder) obj;
            getBL().rename(f, newName);
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.