Commit d00a7c52 authored by Kyle Nekritz's avatar Kyle Nekritz Committed by Facebook Github Bot 8

Add replay safety connector/handler to delay transactions scheduled on a replay-unsafe transport.

Summary: This allows HTTPTransactions to be held back until the transport is replay-safe.

Reviewed By: siyengar

Differential Revision: D2974083

fb-gh-sync-id: 037b14c24a80c828a25e483b6873a8e782af0cb4
shipit-source-id: 037b14c24a80c828a25e483b6873a8e782af0cb4
parent 44af4e09
......@@ -62,7 +62,9 @@ class MockAsyncTransport: public AsyncTransportWrapper {
MOCK_CONST_METHOD0(isEorTrackingEnabled, bool());
MOCK_METHOD1(setEorTracking, void(bool));
MOCK_CONST_METHOD0(getWrappedTransport, AsyncTransportWrapper*());
MOCK_CONST_METHOD0(isReplaySafe, bool());
MOCK_METHOD1(setReplaySafetyCallback,
void(AsyncTransport::ReplaySafetyCallback*));
};
class MockReplaySafetyCallback : public AsyncTransport::ReplaySafetyCallback {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment