public interface PortBindingEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(String serverConnectorId,
boolean isHttps)
Trigger an onClose event when a connector has successfully stopped.
|
void |
onError(Throwable throwable)
Trigger an onError event when there is an error in starting the connector.
|
void |
onOpen(String serverConnectorId,
boolean isHttps)
Trigger an onOpen event when a connector is successfully up and running.
|
void onOpen(String serverConnectorId, boolean isHttps)
serverConnectorId - The ID of the server connecter which just started.isHttps - Specifies whether the server connector is using HTTPS.void onClose(String serverConnectorId, boolean isHttps)
serverConnectorId - The ID of the server connecter which just stopped.isHttps - Specifies whether the server connector is using HTTPS.void onError(Throwable throwable)
throwable - The exception thrown when attempting to start the connector.Copyright © 2022 WSO2. All rights reserved.