com.vaadin.client
Class ApplicationConnection.ConnectionStatusEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler>
          extended by com.vaadin.client.ApplicationConnection.ConnectionStatusEvent
Enclosing class:
ApplicationConnection

public static class ApplicationConnection.ConnectionStatusEvent
extends com.google.gwt.event.shared.GwtEvent<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler>

Event triggered when a XHR request has finished with the status code of the response. Useful for handlers observing network failures like online/off-line monitors.


Nested Class Summary
static interface ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler
           
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Field Summary
static com.google.gwt.event.shared.GwtEvent.Type<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler> TYPE
           
 
Constructor Summary
ApplicationConnection.ConnectionStatusEvent(int status)
           
 
Method Summary
protected  void dispatch(ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler> getAssociatedType()
           
 int getStatus()
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final com.google.gwt.event.shared.GwtEvent.Type<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler> TYPE
Constructor Detail

ApplicationConnection.ConnectionStatusEvent

public ApplicationConnection.ConnectionStatusEvent(int status)
Method Detail

getStatus

public int getStatus()

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler>

dispatch

protected void dispatch(ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<ApplicationConnection.ConnectionStatusEvent.ConnectionStatusHandler>


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.