Interface TransportClient.TransportListener
- Enclosing interface:
TransportClient
public static interface TransportClient.TransportListener
A TransportListener gets informed about client transport events.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
methodChanged
(Method method) Informs about aMethod
change.void
Informs about a connectionTransportClient.State
change.void
transportFailed
(String message, Throwable throwable) Informs about a transport failure.
-
Method Details
-
stateChanged
Informs about a connectionTransportClient.State
change.- Parameters:
state
- The new state of the connection.
-
transportFailed
Informs about a transport failure.- Parameters:
message
- The failure messagethrowable
- The error that was thrown.
-