face: remove EndpointId from egress APIs in transport
refs: #4973
Change-Id: I43ca0c0826ec132413c584a1daa2d4687a4965fd
diff --git a/daemon/face/transport.hpp b/daemon/face/transport.hpp
index d3840bc..9fb9c03 100644
--- a/daemon/face/transport.hpp
+++ b/daemon/face/transport.hpp
@@ -165,12 +165,11 @@
/** \brief Send a link-layer packet
* \param packet the packet to be sent, must be a valid and well-formed TLV block
- * \param endpoint the destination endpoint
* \note This operation has no effect if getState() is neither UP nor DOWN
* \warning Behavior is undefined if packet size exceeds the MTU limit
*/
void
- send(const Block& packet, const EndpointId& endpoint = 0);
+ send(const Block& packet);
public: // static properties
/** \return a FaceUri representing local endpoint
@@ -333,11 +332,10 @@
private: // to be overridden by subclass
/** \brief performs Transport specific operations to send a packet
* \param packet the packet to be sent, can be assumed to be valid and well-formed
- * \param endpoint the destination endpoint
* \pre transport state is either UP or DOWN
*/
virtual void
- doSend(const Block& packet, const EndpointId& endpoint) = 0;
+ doSend(const Block& packet) = 0;
private:
Face* m_face;