face: eliminate Transport::Packet wrapper type
Refs: #4843
Change-Id: I5977be55e8bdac33c989e3b8523fea764f304c37
diff --git a/daemon/face/internal-transport.hpp b/daemon/face/internal-transport.hpp
index f859099..71ae4d5 100644
--- a/daemon/face/internal-transport.hpp
+++ b/daemon/face/internal-transport.hpp
@@ -42,7 +42,7 @@
~InternalTransportBase() = default;
virtual void
- receivePacket(Block&& packet) = 0;
+ receivePacket(const Block& packet) = 0;
};
/** \brief Implements a forwarder-side transport that can be paired with another transport.
@@ -63,7 +63,7 @@
}
void
- receivePacket(Block&& packet) final;
+ receivePacket(const Block& packet) final;
protected:
void
@@ -71,7 +71,7 @@
private:
void
- doSend(Packet&& packet) final;
+ doSend(const Block& packet, const EndpointId& endpoint) final;
private:
NFD_LOG_MEMBER_DECL();
@@ -98,7 +98,7 @@
connectToForwarder(InternalForwarderTransport* forwarder);
void
- receivePacket(Block&& packet) final;
+ receivePacket(const Block& packet) final;
void
send(const Block& wire) final;