Examples of ClientManager


Examples of org.olat.instantMessaging.ClientManager

      }
      if (!isWebDav) { // leave webdav sessions untouched

        if (InstantMessagingModule.isEnabled()) {
          // avoid reconnection of dead or duplicate sessions
          ClientManager mgr = InstantMessagingModule.getAdapter().getClientManager();
          if (username != null && mgr.hasActiveInstantMessagingClient(username)) client = mgr.getInstantMessagingClient(username);
          if (log.isDebug()) {
            if (client != null) log.debug("Fetched im client via mangager. Connections status is - connected=" + client.isConnected()
                + " for user: " + client.getUsername());
            else log.debug("Could not fetch IM client for user: " + username);
          }
View Full Code Here

Examples of sdar.manager.client.ClientManager

     
      while (!finish) {
        this.clientSocket = this.serverSocket.accept();
        this.socketCommunication = new TCPComunication(this.clientSocket);
        System.out.println("Connection received from " + this.clientSocket.getInetAddress().getHostName());
        new Thread(new ClientManager(this.socketCommunication), "RECEPTOR").start();
      }
     
      this.serverSocket.close();
     
    } catch (IOException e) {
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.