Package org.eclipse.ecf.core.events

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


  /* (non-Javadoc)
   * @see org.eclipse.ecf.core.IContainer#disconnect()
   */
  public void disconnect() {
    fireContainerEvent(new ContainerDisconnectingEvent(this.getID(),
        getConnectedID()));
    targetID = null;
    fireContainerEvent(new ContainerDisconnectedEvent(this.getID(),
        getConnectedID()));
  }
View Full Code Here


  /* (non-Javadoc)
   * @see org.eclipse.ecf.core.IContainer#disconnect()
   */
  public void disconnect() {
    fireContainerEvent(new ContainerDisconnectingEvent(this.getID(), targetId));
    fireContainerEvent(new ContainerConnectedEvent(this.getID(), targetId));
  }
View Full Code Here

   * (non-Javadoc)
   *
   * @see org.eclipse.ecf.core.IContainer#disconnect()
   */
  public void disconnect() {
    fireContainerEvent(new ContainerDisconnectingEvent(getID(), targetID));

    final ID oldID = targetID;

    // XXX disconnect here

View Full Code Here

    }
  }

  public void disconnect() {
    final ID groupID = getConnectedID();
    fireContainerEvent(new ContainerDisconnectingEvent(this.getID(), groupID));
    synchronized (getConnectLock()) {
      // If we are currently connected
      if (isConnected()) {
        try {
          multiuserchat.leave();
View Full Code Here

   * (non-Javadoc)
   *
   * @see org.eclipse.ecf.core.IContainer#disconnect()
   */
  public void disconnect() {
    fireContainerEvent(new ContainerDisconnectingEvent(getID(), targetID));

    final ID oldID = targetID;

    // XXX disconnect here

View Full Code Here

   *
   * @see org.eclipse.ecf.provider.generic.ClientSOContainer#disconnect()
   */
  public void disconnect() {
    final ID groupID = getConnectedID();
    fireContainerEvent(new ContainerDisconnectingEvent(this.getID(),
        groupID));
    synchronized (getConnectLock()) {
      // If we are currently connected
      if (isConnected()) {
        XmppPlugin.getDefault().unregisterService(this);
View Full Code Here

    return null;
  }

  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();
      }
View Full Code Here

TOP

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

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.