exceptions: Make Tlv::Error a base class for all packet-processing exceptions
This commit also includes a number of code style fixes.
Change-Id: I44f83915e733b43d5f43b4266902c8262e928d91
Refs: #1528
diff --git a/src/transport/tcp-transport.hpp b/src/transport/tcp-transport.hpp
index 6795580..db90ae4 100644
--- a/src/transport/tcp-transport.hpp
+++ b/src/transport/tcp-transport.hpp
@@ -26,11 +26,11 @@
~TcpTransport();
// from Transport
- virtual void
+ virtual void
connect(boost::asio::io_service& ioService,
const ReceiveCallback& receiveCallback);
-
- virtual void
+
+ virtual void
close();
virtual void
@@ -39,10 +39,10 @@
virtual void
resume();
- virtual void
+ virtual void
send(const Block& wire);
- virtual void
+ virtual void
send(const Block& header, const Block& payload);
private: