org.cruxframework.crux.core.clientoffline
Class Network.Impl
java.lang.Object
org.cruxframework.crux.core.clientoffline.Network.Impl
- All Implemented Interfaces:
- HasNetworkHandlers
- Direct Known Subclasses:
- Network.CacheManifestImpl, Network.SafariImpl, Network.UnsupportedImpl
- Enclosing class:
- Network
public abstract static class Network.Impl
- extends Object
- implements HasNetworkHandlers
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messages
protected OfflineMessages messages
handlers
protected FastList<NetworkEvent.Handler> handlers
Network.Impl
public Network.Impl()
addNetworkHandler
public com.google.gwt.event.shared.HandlerRegistration addNetworkHandler(NetworkEvent.Handler handler)
- Description copied from interface:
HasNetworkHandlers
- Adds an
NetworkEvent handler.
- Specified by:
addNetworkHandler in interface HasNetworkHandlers
- Parameters:
handler - the handler
- Returns:
- the handler registration
isSupported
public boolean isSupported()
- Check if this browser support Crux offline working.
- Returns:
fireOnLineEvent
protected void fireOnLineEvent()
fireOffLineEvent
protected void fireOffLineEvent()
fireEvent
public void fireEvent(NetworkEvent event)
Copyright © 2014. All rights reserved.