Interface RequestTransport.TransportReceiver
-
- Enclosing interface:
- RequestTransport
public static interface RequestTransport.TransportReceiverA callback interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTransportFailure(ServerFailure failure)Called to report a transmission failure as a ServerFailure.voidonTransportSuccess(java.lang.String payload)Called when the transmission succeeds.
-
-
-
Method Detail
-
onTransportSuccess
void onTransportSuccess(java.lang.String payload)
Called when the transmission succeeds.- Parameters:
payload- the String payload
-
onTransportFailure
void onTransportFailure(ServerFailure failure)
Called to report a transmission failure as a ServerFailure.- Parameters:
failure- a ServerFailure instance indicating the nature of the failure
-
-