Interface RequestTransport.TransportReceiver
- Enclosing interface:
RequestTransport
public static interface RequestTransport.TransportReceiver
A callback interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTransportFailure
(ServerFailure failure) Called to report a transmission failure as a ServerFailure.void
onTransportSuccess
(String payload) Called when the transmission succeeds.
-
Method Details
-
onTransportSuccess
Called when the transmission succeeds.- Parameters:
payload
- the String payload
-