Package org.eclipse.ecf.core.events

Examples of org.eclipse.ecf.core.events.ContainerDisconnectedEvent


   */
  public void disconnect() {
    fireContainerEvent(new ContainerDisconnectingEvent(this.getID(),
        getConnectedID()));
    targetID = null;
    fireContainerEvent(new ContainerDisconnectedEvent(this.getID(),
        getConnectedID()));
  }
View Full Code Here


    fireContainerEvent(new ContainerConnectedEvent(getID(),
        getConnectedID()));
  }

  public void disconnect() {
    fireContainerEvent(new ContainerDisconnectedEvent(getID(),
        getConnectedID()));
  }
View Full Code Here

    final ID oldID = targetID;

    // XXX disconnect here

    fireContainerEvent(new ContainerDisconnectedEvent(getID(), oldID));
  }
View Full Code Here

  protected void memberChanged(Member m, boolean add) {
    if (thread != null) {
      if (add) {
        send(new ContainerConnectedEvent(containerID, m.getID()));
      } else {
        send(new ContainerDisconnectedEvent(containerID, m.getID()));
      }
    }
  }
View Full Code Here

      if (containerHelper != null)
        containerHelper.disconnect();
      this.connection = null;
    }
    // notify listeners
    fireContainerEvent(new ContainerDisconnectedEvent(this.getID(), groupID));
  }
View Full Code Here

    final ID oldID = targetID;

    // XXX disconnect here

    fireContainerEvent(new ContainerDisconnectedEvent(getID(), oldID));
  }
View Full Code Here

      outgoingFileTransferContainerAdapter.setConnection(null);
      presenceHelper.disconnect();
      getSharedObjectManager().removeSharedObject(presenceHelperID);
    }
    // notify listeners
    fireContainerEvent(new ContainerDisconnectedEvent(this.getID(), groupID));
  }
View Full Code Here

  public void disconnect() {
    if (client != null) {
      fireContainerEvent(new ContainerDisconnectingEvent(guid, connectID));
      client.disconnect();
      fireContainerEvent(new ContainerDisconnectedEvent(guid, connectID));
      for (Iterator it = chatSessions.values().iterator(); it.hasNext();) {
        ((ChatSession) it.next()).close();
      }
      chatSessions.clear();
      connectID = null;
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.core.events.ContainerDisconnectedEvent

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.