Examples of open()


Examples of net.jumperz.app.MMonjaDB.eclipse.dialog.MPromptDialog.open()

  Map data = ( Map )selected[ 0 ].getData();
  if( isFolderItem( selected[ 0 ] ) )
    {
    Set dataSet = new HashSet();
    MPromptDialog dialog = new MPromptDialog( shell, dataSet, "Rename Folder", "Name :", ( String )data.get( "name" ) );
    dialog.open();
    if( dataSet.size() > 0 )
      {
      data.put( "name", dataSet.iterator().next() );
      drawItem( selected[ 0 ] );
      }
View Full Code Here

Examples of net.kano.joustsim.oscar.oscar.service.icbm.Conversation.open()

        else {
          if (message.length() > 2048) {
            message = message.substring(0, 2048);
          }
          Conversation conv = _conn.getIcbmService().getImConversation(buddyInfo.getScreenname());
          conv.open();
          conv.sendMessage(new SimpleMessage(message));
        }
      }
    }
  }
View Full Code Here

Examples of net.kano.joustsim.oscar.oscar.service.icbm.ImConversation.open()

                    "disconnected");
        }
        if (loginProcessed && loggedIn) {
            ImConversation imConversation = aimConnection.getIcbmService()
                    .getImConversation(new Screenname(to));
            imConversation.open();
            imConversation.addConversationListener(new AimConversationListener());
            if (imConversation.canSendMessage()) {
                messageCount++;
                imConversation.sendMessage(new SimpleMessage(message));
            } else {
View Full Code Here

Examples of net.kuujo.vertigo.io.connection.InputConnection.open()

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

Examples of net.kuujo.vertigo.io.connection.impl.DefaultInputConnection.open()

          // has been opened. This ensures that we don't attempt to send messages
          // on a close connection.
          connections.clear();
          for (InputConnectionContext connectionContext : context.connections()) {
            final InputConnection connection = new DefaultInputConnection(vertx, connectionContext);
            connection.open(new Handler<AsyncResult<Void>>() {
              @Override
              public void handle(AsyncResult<Void> result) {
                if (result.failed()) {
                  log.error(String.format("%s - Failed to open input connection: %s", DefaultInputPort.this, connection));
                  startCounter.fail(result.cause());
View Full Code Here

Examples of net.kuujo.vertigo.io.port.InputPort.open()

            .build();
        DefaultInputContext.Builder.newBuilder((DefaultInputContext) context).addPort(portContext);
      }
      port = new DefaultInputPort(vertx, context.port(name));
      if (started) {
        port.open();
      }
      ports.put(name, port);
    }
    return port;
  }
View Full Code Here

Examples of net.kuujo.vertigo.io.port.InputPortContext.open()

          });

          // Iterate through each new input port and open and add the port.
          for (final InputPort port : newPorts) {
            log.debug(String.format("%s - Opening in port: %s", DefaultInputCollector.this, port));
            port.open(new Handler<AsyncResult<Void>>() {
              @Override
              public void handle(AsyncResult<Void> result) {
                if (result.failed()) {
                  log.error(String.format("%s - Failed to open in port: %s", DefaultInputCollector.this, port));
                } else {
View Full Code Here

Examples of net.kuujo.vertigo.io.port.OutputPort.open()

            .build();
        DefaultOutputContext.Builder.newBuilder((DefaultOutputContext) context).addPort(portContext);
      }
      port = new DefaultOutputPort(vertx, context.port(name));
      if (started) {
        port.open();
      }
      ports.put(name, port);
    }
    return port;
  }
View Full Code Here

Examples of net.kuujo.vertigo.io.port.OutputPortContext.open()

          });

          // Iterate through each new output port and open and add the port.
          for (final OutputPort port : newPorts) {
            log.debug(String.format("%s - Opening out port: %s", DefaultOutputCollector.this, port));
            port.open(new Handler<AsyncResult<Void>>() {
              @Override
              public void handle(AsyncResult<Void> result) {
                if (result.failed()) {
                  log.error(String.format("%s - Failed to open out port: %s", DefaultOutputCollector.this, port));
                } else {
View Full Code Here

Examples of net.kuujo.vertigo.io.port.impl.DefaultOutputPort.open()

            if (ports.containsKey(output.name())) {
              ((DefaultOutputPort) ports.get(output.name())).open(startCounter);
            } else {
              final OutputPort port = new DefaultOutputPort(vertx, output);
              log.debug(String.format("%s - Opening out port: %s", DefaultOutputCollector.this, output));
              port.open(new Handler<AsyncResult<Void>>() {
                @Override
                public void handle(AsyncResult<Void> result) {
                  if (result.failed()) {
                    log.error(String.format("%s - Failed to open out port: %s", DefaultOutputCollector.this, port));
                    startCounter.fail(result.cause());
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.