diff --git a/src/applications/model/udp-trace-client.cc b/src/applications/model/udp-trace-client.cc index 4b183447c..bd3f11a68 100644 --- a/src/applications/model/udp-trace-client.cc +++ b/src/applications/model/udp-trace-client.cc @@ -103,22 +103,6 @@ UdpTraceClient::UdpTraceClient() m_maxPacketSize = 1400; } -UdpTraceClient::UdpTraceClient(Ipv4Address ip, uint16_t port, char* traceFile) -{ - NS_LOG_FUNCTION(this); - m_sent = 0; - m_socket = nullptr; - m_sendEvent = EventId(); - m_peerAddress = ip; - m_peerPort = port; - m_currentEntry = 0; - m_maxPacketSize = 1400; - if (traceFile != nullptr) - { - SetTraceFile(traceFile); - } -} - UdpTraceClient::~UdpTraceClient() { NS_LOG_FUNCTION(this); diff --git a/src/applications/model/udp-trace-client.h b/src/applications/model/udp-trace-client.h index cf71797fc..306a69aca 100644 --- a/src/applications/model/udp-trace-client.h +++ b/src/applications/model/udp-trace-client.h @@ -59,19 +59,6 @@ class UdpTraceClient : public Application static TypeId GetTypeId(); UdpTraceClient(); - - /** - * \brief Creates a traceBasedStreamer application - * \param ip the destination ip address to which the stream will be sent - * \param port the destination udp port to which the stream will be sent - * \param traceFile a path to an MPEG4 trace file formatted as follows: - * FrameNo Frametype Time[ms] Length [byte] - * FrameNo Frametype Time[ms] Length [byte] - * ... - * - * - */ - UdpTraceClient(Ipv4Address ip, uint16_t port, char* traceFile); ~UdpTraceClient() override; /**