Package com.calclab.emite.core.events

Examples of com.calclab.emite.core.events.SessionStatusChangedEvent


  }

  @Override
  public HandlerRegistration addSessionStatusChangedHandler(final SessionStatusChangedEvent.Handler handler, final boolean sendCurrent) {
    if (sendCurrent) {
      handler.onSessionStatusChanged(new SessionStatusChangedEvent(status));
    }

    return eventBus.addHandlerToSource(SessionStatusChangedEvent.TYPE, this, handler);
  }
View Full Code Here


    } else if (SessionStatus.isDisconnected(newStatus)) {
      userUri = null;
    }
    if (!status.equals(newStatus)) {
      status = newStatus;
      eventBus.fireEventFromSource(new SessionStatusChangedEvent(newStatus), this);
    }
  }
View Full Code Here

TOP

Related Classes of com.calclab.emite.core.events.SessionStatusChangedEvent

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.