public interface AsyncPingHandler
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Triggered to cancel the message exchange.
|
void |
consumeResponse(ByteBuffer feedback)
Triggered to signal receipt of a ping response message.
|
void |
failed(Exception cause)
Triggered to signal a failure in data processing.
|
ByteBuffer |
getData()
Returns content of ping message.
|
ByteBuffer getData()
void consumeResponse(ByteBuffer feedback) throws HttpException, IOException
feedback
- the ping message feedback.HttpException
IOException
void failed(Exception cause)
cause
- the cause of the failure.void cancel()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.