public static interface RequestTransport.TransportReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
onTransportFailure(ServerFailure failure)
Called to report a transmission failure as a ServerFailure.
|
void |
onTransportSuccess(java.lang.String payload)
Called when the transmission succeeds.
|
void onTransportSuccess(java.lang.String payload)
payload - the String payloadvoid onTransportFailure(ServerFailure failure)
failure - a ServerFailure instance indicating the nature of the
failure