public interface ConnectorListener
Modifier and Type | Method and Description |
---|---|
void |
onJoinError(AccessPointConfiguration apConfiguration,
Exception e)
Notifies that a join failed using the given configuration.
|
void |
onScan(AccessPoint[] accessPoints)
Notifies that a scan has been done.
|
void |
onSoftAPMount(SoftAPConfiguration softAPConfiguration)
Notifies that the softAP is now mounted using the given configuration.
|
void |
onSoftAPMountError(SoftAPConfiguration softAPConfiguration,
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(AccessPointConfiguration apConfiguration)
Notifies that a join was successful using the given configuration.
|
void |
onTryingJoin(AccessPointConfiguration apConfiguration)
Notifies that a join will be done with the given configuration.
|
void onJoinError(AccessPointConfiguration apConfiguration, Exception e)
apConfiguration
- the AccessPointConfiguration
used.e
- the exception, can be null
.void onScan(AccessPoint[] accessPoints)
accessPoints
- the access points scanned.void onSoftAPMount(SoftAPConfiguration softAPConfiguration)
softAPConfiguration
- the SoftAPConfiguration
used, not null
.void onSoftAPMountError(SoftAPConfiguration softAPConfiguration, IOException e)
softAPConfiguration
- the SoftAPConfiguration
used.e
- the Exception
, can be null
.void onSoftAPUnmount()
void onSuccessfulJoin(AccessPointConfiguration apConfiguration)
apConfiguration
- the AccessPointConfiguration
used, not null
.void onTryingJoin(AccessPointConfiguration apConfiguration)
apConfiguration
- the configuration to join.