Package jetbrains.communicator.core.transport

Examples of jetbrains.communicator.core.transport.Transport


    myActions.add(new CreateGroupAction());
    myActions.add(new BaseAction<FindUsersCommand>(FindUsersCommand.class));

    List instancesOfType = Pico.getInstance().getComponentInstancesOfType(Transport.class);
    for (Object aInstancesOfType : instancesOfType) {
      Transport transport = (Transport) aInstancesOfType;
      Class<? extends NamedUserCommand> specificFinderClass = transport.getSpecificFinderClass();
      if (specificFinderClass != null) {
        myActions.add(new BaseAction(specificFinderClass));
      }
    }
  }
View Full Code Here


  }

  private Transport _getTransport() {
    List availableTransports = Pico.getInstance().getComponentInstancesOfType(Transport.class);
    for (Object availableTransport : availableTransports) {
      Transport transport = (Transport) availableTransport;
      if (transport.getName().equals(myTransportCode)) {
        return transport;
      }
    }
    return new NullTransport();
  }
View Full Code Here

  }

  private void initializeTransports(String projectName) {
    java.util.List transports = Pico.getInstance().getComponentInstancesOfType(Transport.class);
    for (Object transport1 : transports) {
      Transport transport = (Transport) transport1;
      transport.initializeProject(projectName, myContainer);
    }
  }
View Full Code Here

      myThreadDisposed = false;
      while (!myStop) {
        UserPresence userPresence = calculatePresence();
        LOG.debug("Calculated own presence: " + userPresence);
        for (Object o : Pico.getInstance().getComponentInstancesOfType(Transport.class)) {
          Transport transport = (Transport) o;
          if (transport.isOnline()) {
            transport.setOwnPresence(userPresence);
          }
        }

        synchronized (myMonitor) {
          myMonitor.wait(myRefreshInterval);
View Full Code Here

TOP

Related Classes of jetbrains.communicator.core.transport.Transport

Copyright © 2018 www.massapicom. 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.