public interface ConnectorListener
Modifier and Type | Method and Description |
---|---|
void |
onJoinError(ej.net.util.wifi.AccessPointConfiguration apConfiguration,
java.lang.Exception e)
Notifies that a join failed using the given configuration.
|
void |
onScan(ej.ecom.wifi.AccessPoint[] accessPoints)
Notifies that a scan has been done.
|
void |
onSoftAPMount(ej.ecom.wifi.SoftAPConfiguration softAPConfiguration)
Notifies that the softAP is now mounted using the given configuration.
|
void |
onSoftAPMountError(ej.ecom.wifi.SoftAPConfiguration softAPConfiguration,
java.io.IOException e)
Notifies that the mount of the Soft AP failed using the given configuration.
|
void |
onSoftAPUnmount()
Notifies that the Soft AP has been unmounted.
|
void |
onSuccessfulJoin(ej.net.util.wifi.AccessPointConfiguration apConfiguration)
Notifies that a join was successful using the given configuration.
|
void |
onTryingJoin(ej.net.util.wifi.AccessPointConfiguration apConfiguration)
Notifies that a join will be done with the given configuration.
|
void onSoftAPMount(ej.ecom.wifi.SoftAPConfiguration softAPConfiguration)
softAPConfiguration
- the SoftAPConfiguration
used, not null
.void onJoinError(ej.net.util.wifi.AccessPointConfiguration apConfiguration, java.lang.Exception e)
apConfiguration
- the AccessPointConfiguration
used.e
- the exception, can be null
.void onSuccessfulJoin(ej.net.util.wifi.AccessPointConfiguration apConfiguration)
apConfiguration
- the AccessPointConfiguration
used, not null
.void onSoftAPMountError(ej.ecom.wifi.SoftAPConfiguration softAPConfiguration, java.io.IOException e)
softAPConfiguration
- the SoftAPConfiguration
used.e
- the Exception
, can be null
.void onSoftAPUnmount()
void onScan(ej.ecom.wifi.AccessPoint[] accessPoints)
accessPoints
- the access points scanned.void onTryingJoin(ej.net.util.wifi.AccessPointConfiguration apConfiguration)
apConfiguration
- the configuration to join.