public interface ConnectionAvailabilityListener
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(ClientConnectorException cause)
If failed to create the connection.
|
void |
onSuccess(String protocol,
io.netty.channel.ChannelFuture channelFuture)
This is invoked when connection was successfully created.
|
void onSuccess(String protocol, io.netty.channel.ChannelFuture channelFuture)
protocol - http or http2channelFuture - channel futurevoid onFailure(ClientConnectorException cause)
cause - cause of the failure.Copyright © 2022 WSO2. All rights reserved.