com.pepper.platform.net
Interface NetworkListener

All Superinterfaces:
EventListener

public interface NetworkListener
extends EventListener

Interface to listen for network online/offline events. Implementers should register via the NetworkMonitor class.

Since:
3.2
See Also:
NetworkMonitor

Method Summary
 void offline(NetworkEvent netEvent)
          This callback indicates that the network has gone offline
 void online(NetworkEvent netEvent)
          This callback indicates that the network has come online
 

Method Detail

online

void online(NetworkEvent netEvent)
This callback indicates that the network has come online

Parameters:
netEvent - a NetworkEvent instance.

offline

void offline(NetworkEvent netEvent)
This callback indicates that the network has gone offline

Parameters:
netEvent - a NetworkEvent instance.


Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.