org.cruxframework.crux.core.clientoffline
Interface HasNetworkHandlers

All Known Implementing Classes:
Network, Network.CacheManifestImpl, Network.Impl, Network.SafariImpl, Network.UnsupportedImpl

public interface HasNetworkHandlers

Author:
Thiago da Rosa de Bustamante

Method Summary
 com.google.gwt.event.shared.HandlerRegistration addNetworkHandler(NetworkEvent.Handler handler)
          Adds an NetworkEvent handler.
 boolean isOnLine()
          Returns whether or not the network is onLine
 

Method Detail

addNetworkHandler

com.google.gwt.event.shared.HandlerRegistration addNetworkHandler(NetworkEvent.Handler handler)
Adds an NetworkEvent handler.

Parameters:
handler - the handler
Returns:
the handler registration

isOnLine

boolean isOnLine()
Returns whether or not the network is onLine

Returns:
true if onLine, false otherwise


Copyright © 2014. All rights reserved.