Class to retrieve events from network devices Retrieves notifications from network devices regarding the network events. More...
#include <NetworkEventListener.h>
Public Member Functions | |
virtual void | networkEvent (NetworkEvent e)=0 |
Network event report. | |
virtual void | networkSignalQuality (int signalLevel)=0 |
Network signal quality report. | |
virtual void | networkError (const char *error)=0 |
Network error report. | |
virtual void | networkStatus (const char *error)=0 |
Network status change event. |
Class to retrieve events from network devices Retrieves notifications from network devices regarding the network events.
virtual void NetworkEventListener::networkError | ( | const char * | error | ) | [pure virtual] |
Network error report.
Called by the network connection to notify the listener about a network error.
error | Contains the network error description. |
virtual void NetworkEventListener::networkEvent | ( | NetworkEvent | e | ) | [pure virtual] |
Network event report.
Called by the network connection to notify the listener about a new event.
e | Contains the network event type identifier. |
virtual void NetworkEventListener::networkSignalQuality | ( | int | signalLevel | ) | [pure virtual] |
Network signal quality report.
Called by the network connection periodically to notify the listener about the network received signal quality.
signalLevel | Specifies the signal level, in percent 0..100. |
virtual void NetworkEventListener::networkStatus | ( | const char * | error | ) | [pure virtual] |
Network status change event.
Called by the network connection to notify the listener of a status change.
error | Contains the network new status. |