applications: Remove UdpTraceClient constructors with parameters that are set through attributes

This commit is contained in:
Sébastien Deronne
2024-05-11 14:45:16 +02:00
parent 4357df33ca
commit 72e75a0b7c
2 changed files with 0 additions and 29 deletions

View File

@@ -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);

View File

@@ -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;
/**