Interface ResponseHandler
-
public interface ResponseHandler
Interface used by the AmqpProtocolConverter for callbacks from the broker.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onResponse(AmqpProtocolConverter converter, Response response)
Called when the Broker has handled a previously issued request and has a response ready.
-
-
-
Method Detail
-
onResponse
void onResponse(AmqpProtocolConverter converter, Response response) throws IOException
Called when the Broker has handled a previously issued request and has a response ready.- Parameters:
converter
- the protocol converter that is awaiting the response.response
- the response from the broker.- Throws:
IOException
- if an error occurs while processing the response.
-
-