summaryrefslogtreecommitdiffstats
path: root/fnet/src/examples/proxy/proxy.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-12-01 10:51:20 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-12-01 10:51:20 +0000
commit76ed35ea52b5ab35ab91a59aeefb7a154052060f (patch)
treef8126013346e77197593bc1d74af9ccb7751b6bf /fnet/src/examples/proxy/proxy.cpp
parent26c16eeb3d4d792938ab9af9aff1e01b540a6f42 (diff)
Misc cleanup of includes and code health
Diffstat (limited to 'fnet/src/examples/proxy/proxy.cpp')
-rw-r--r--fnet/src/examples/proxy/proxy.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/fnet/src/examples/proxy/proxy.cpp b/fnet/src/examples/proxy/proxy.cpp
index a01a16ead9c..062a0d52627 100644
--- a/fnet/src/examples/proxy/proxy.cpp
+++ b/fnet/src/examples/proxy/proxy.cpp
@@ -1,6 +1,14 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fnet/fnet.h>
+#include <vespa/fnet/transport.h>
+#include <vespa/fnet/transport_thread.h>
+#include <vespa/fnet/connection.h>
+#include <vespa/fnet/signalshutdown.h>
+#include <vespa/fnet/packet.h>
+#include <vespa/fnet/iserveradapter.h>
+#include <vespa/fnet/ipacketstreamer.h>
+#include <vespa/fnet/channel.h>
+#include <vespa/fnet/connector.h>
#include <vespa/fastos/app.h>
#include <vespa/log/log.h>
@@ -140,7 +148,7 @@ private:
public:
Proxy() : _transport() {}
- ~Proxy() { }
+ ~Proxy() override { }
bool GetPacketInfo(FNET_DataBuffer *src, uint32_t *plen, uint32_t *pcode, uint32_t *chid, bool *) override;
FNET_Packet *Decode(FNET_DataBuffer *src, uint32_t plen, uint32_t pcode, FNET_Context) override;
void Encode(FNET_Packet *packet, uint32_t chid, FNET_DataBuffer *dst) override;