Package org.structr.cloud.message

Examples of org.structr.cloud.message.ListSyncables


    if (host != null && port != null && username != null && password != null && key != null) {

      final App app    = StructrApp.getInstance();
      try (final Tx tx = app.tx()) {

        final List<SyncableInfo> syncables = CloudService.doRemote(new SingleTransmission<>(new ListSyncables(type), username, password, host, port.intValue()), new WebsocketProgressListener(getWebSocket(), key));
        final StructrWebSocket webSocket   = getWebSocket();
        if (syncables != null) {

          final List<GraphObject> result = new LinkedList<>();
          for (final SyncableInfo info : syncables) {
View Full Code Here


  @Override
  public void execute(final Map<String, Object> attributes) throws FrameworkException {

    try {
      System.out.println(CloudService.doRemote(new SingleTransmission(new ListSyncables(null), "admin", "admin", "localhost", 54555), new LoggingListener()));

    } catch (Throwable t) {
      t.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of org.structr.cloud.message.ListSyncables

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.