public class NetworkStatusListenerImpl extends BaseListenerImpl implements INetworkStatusListener
| Constructor and Description |
|---|
NetworkStatusListenerImpl(long id)
Constructor with listener id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(INetworkStatusListenerError error)
No data received - error condition, not authorized or hardware not available.
|
void |
onResult(NetworkEvent networkEvent)
Called when network connection changes somehow.
|
void |
onWarning(NetworkEvent networkEvent,
INetworkStatusListenerWarning warning)
Status received with warning
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetAPIGroup, getAPIVersionpublic NetworkStatusListenerImpl(long id)
id - The id of the listener.public void onError(INetworkStatusListenerError error)
onError in interface INetworkStatusListenererror - Type of error encountered during reading.public void onResult(NetworkEvent networkEvent)
onResult in interface INetworkStatusListenernetworkEvent - Change to this network.public void onWarning(NetworkEvent networkEvent, INetworkStatusListenerWarning warning)
onWarning in interface INetworkStatusListenernetworkEvent - Change to this network.warning - Type of warning encountered during reading.