Interface RequestTransport
-
- All Known Implementing Classes:
DefaultRequestTransport,FakeRequestTransport,InProcessRequestTransport,UrlRequestTransport
public interface RequestTransportAbstracts the mechanism by which a RequestFactory instance transmits its payload to the backend.- See Also:
DefaultRequestTransport,FakeRequestTransport
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRequestTransport.TransportReceiverA callback interface.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsend(java.lang.String payload, RequestTransport.TransportReceiver receiver)Called by the RequestFactory implementation.
-
-
-
Method Detail
-
send
void send(java.lang.String payload, RequestTransport.TransportReceiver receiver)Called by the RequestFactory implementation.- Parameters:
payload- the String payloadreceiver- theRequestTransport.TransportReceiverinstance that will receive the payload
-
-