Add getUnderlyingTransport to AsyncTransportWrapper.
authorKyle Nekritz <knekritz@fb.com>
Wed, 18 Nov 2015 18:20:14 +0000 (10:20 -0800)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Wed, 18 Nov 2015 19:20:21 +0000 (11:20 -0800)
commita74ba58b99f13b0390ea901d0e7aa60a0e241cee
tree41bfc707192cc502a553d54ddd451482ddd45a34
parentb0193e80a8b1a9a74d5e90a51d2490b68cbdf69a
Add getUnderlyingTransport to AsyncTransportWrapper.

Summary: Inspired by getSocketFromTransport from proxygen.

Reviewed By: siyengar

Differential Revision: D2663937

fb-gh-sync-id: f076215907cd06d6da3de033c57eec8a6a6ce320
folly/io/async/AsyncTransport.h
folly/io/async/test/AsyncTransportTest.cpp [new file with mode: 0644]
folly/io/async/test/MockAsyncTransport.h