move socketaddress to folly
authorDave Watson <davejwatson@fb.com>
Fri, 12 Sep 2014 18:30:59 +0000 (11:30 -0700)
committerdcsommer <dcsommer@fb.com>
Fri, 19 Sep 2014 22:30:59 +0000 (15:30 -0700)
commit45c8738bf65a76678248189fc8f1f2eb2f35f628
treea0d4857e7bb28eb5b69b5924882c2e6ea509f2b4
parente3e4ab20f6b07ac2c4b73d56228a0e8abeca5023
move socketaddress to folly

Summary:
Goes with IPAddress and MACAddress already in folly.

* change namespace, add typedef in thrift.  Had to update forward decls to folly namespace.
* change exception types to std:: types instead of TTransportException.  I fbgs'd for everywhere I could find trying to catch these and updated the type, there looked like there were only ~9 files or so.

Test Plan: contbuild.

@override-unit-failures

Tests already passed in last run

Reviewed By: simpkins@fb.com

Subscribers: doug, ps, alandau, everstore-dev@, njormrod, fugalh, alikhtarov, bmatheny, jsedgwick

FB internal diff: D1556916
folly/Makefile.am
folly/SocketAddress.cpp [new file with mode: 0644]
folly/SocketAddress.h [new file with mode: 0644]
folly/test/SocketAddressTest.cpp [new file with mode: 0644]