public interface FlowEventCallback
SessionHandle.createFlowForHandle()
It is called for each Flow event that occurs.
When a Flow event is received that indicates an error condition (such as a bind failure), additional
error information is recorded and can be retrieved through SolClient.getLastErrorInfo()
:
COMMUNICATION_ERROR
- The underlying connection failed
PROTOCOL_ERROR
- A protocol error occurred between the API and the Appliance.
KEEP_ALIVE_FAILURE
- The Session went down due to a Keep-Alive failure.
TIMEOUT
- A timeout occurred on an operation such as binding to a Flow.
SolEnum.SubCode
Modifier and Type | Method and Description |
---|---|
void |
onEvent(FlowHandle handle) |
void onEvent(FlowHandle handle)
handle
- The flow Handle to which the event applies.Copyright 2004-2024 Solace Corporation. All rights reserved.