applications: Remove UdpTraceClient constructors with parameters that are set through attributes
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user