Examples of disconnect()


Examples of org.syncany.plugins.transfer.TransferManager.disconnect()

        : config.getTransferPlugin().createTransferManager(config.getConnection(), config);

    List<DatabaseRemoteFile> knownDatabases = localDatabase.getKnownDatabases();
    List<DatabaseRemoteFile> unknownRemoteDatabases = listUnknownRemoteDatabases(transferManager, knownDatabases);

    transferManager.disconnect();

    boolean hasChanges = unknownRemoteDatabases.size() > 0;
    eventBus.post(new LsRemoteEndSyncExternalEvent(config.getLocalDir().getAbsolutePath(), hasChanges));
   
    return new LsRemoteOperationResult(new ArrayList<>(unknownRemoteDatabases));
View Full Code Here

Examples of org.tc65sh.device.Device.disconnect()

            if (device.checkForTC65()) {
                found = true;
                open(ui, device);
            } else {
                Log.info("No TC65 found on port " + portname);
                device.disconnect();
            }
        } catch (Exception e) {
            Log.info("Could not open port " + portname);
            Log.debug(this.getClass(), "tryPort:" + e);
        }
View Full Code Here

Examples of org.xbib.elasticsearch.websocket.client.WebSocketClient.disconnect()

                    });
            client.connect().await(1000, TimeUnit.MILLISECONDS);           
            Thread.sleep(1000);
            client.send(new CloseWebSocketFrame());
            Thread.sleep(1000);
            client.disconnect();
           
            clientFactory.shutdown();
           
        } catch (Exception e) {
            logger.error(e.getMessage(), e);
View Full Code Here

Examples of org.xmlBlaster.client.I_XmlBlasterAccess.disconnect()

         I_XmlBlasterAccess conn = this.global.getXmlBlasterAccess();
         if (this.sqlTopic != null) {
            UnSubscribeKey key = new UnSubscribeKey(this.global, this.sqlTopic);
            conn.unSubscribe(key, new UnSubscribeQos(this.global));
         }
         conn.disconnect(new DisconnectQos(this.global));
         this.replications.clear();
         this.replSlaveMap.clear();
         this.topicToPrefixMap.clear();
         this.counterMap.clear();
        
View Full Code Here

Examples of org.xmlBlaster.client.XmlBlasterAccess.disconnect()

            a.connect(null, null);
            System.out.println("connected ...");

            System.out.println("Hit a key");
            try { System.in.read(); } catch(java.io.IOException e) {}
            a.disconnect((DisconnectQos)null);

            System.out.println("All is shutdown: Hit a key");
            try { System.in.read(); } catch(java.io.IOException e) {}
         }
      }
View Full Code Here

Examples of org.zeromq.ZMQ.Socket.disconnect()

            if (msg[0] != null) {
              handleMsg(msg);
              continue;
            }
            if (doDisconnect) {
              socket.disconnect(zmqUrl);
              doDisconnect = false;
              return;
            }
          } catch (final Exception e) {
            LOG.log(Level.SEVERE, "Caught error:", e);
View Full Code Here

Examples of pdp.scrabble.multiplayer.Server.disconnect()

      System.out.println("Can't connect");
  }

  //Disconnect client
  try {
      server.disconnect(0);
      System.out.println("Disconnecting client");
  }
  catch (RemoteException ex) {
      fail("RemoteException was not expected");
  }
View Full Code Here

Examples of pl.balon.gwt.diagrams.client.connector.Connector.disconnect()

   */
  public void remove(){
    for (ListIterator i = connected.listIterator(); i.hasNext();) {
      Connector c = (Connector) i.next();
      i.remove();
      c.disconnect(this);
    }
    removeFromParent();
  }

  /**
 
View Full Code Here

Examples of playn.core.Connection.disconnect()

            }
        }

        Connection joined;
        joined = Layers.join();
        joined.disconnect();
        joined.disconnect();

        TestConn c1 = new TestConn();
        joined = Layers.join(c1, joined);
        joined.disconnect();
View Full Code Here

Examples of quickfix.Session.disconnect()

    }

    public void stop() throws Exception {       
        Session session = Session.lookupSession(sessionID);
        if (session != null) {
            session.disconnect();
        }
    }

    public void start() throws Exception {
       
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.