Skip to content

Commit 1cafce4

Browse files
Updated endPoint parameter name casing in PublisherInstance for consistency
1 parent 9d38421 commit 1cafce4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib/transport/PublisherInstance.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ vector<MeasurementMetadataPtr> PublisherInstance::FilterMetadata(const string& f
300300
return m_publisher->FilterMetadata(filterExpression);
301301
}
302302

303-
bool PublisherInstance::Start(const TcpEndPoint& endpoint)
303+
bool PublisherInstance::Start(const TcpEndPoint& endPoint)
304304
{
305305
if (IsStarted())
306306
throw PublisherException("Publisher is already started; stop first");
@@ -312,7 +312,7 @@ bool PublisherInstance::Start(const TcpEndPoint& endpoint)
312312

313313
try
314314
{
315-
m_publisher->Start(endpoint);
315+
m_publisher->Start(endPoint);
316316
}
317317
catch (PublisherException& ex)
318318
{
@@ -328,7 +328,7 @@ bool PublisherInstance::Start(const TcpEndPoint& endpoint)
328328
}
329329

330330
if (!errorMessage.empty())
331-
ErrorMessage("Failed to listen on port " + ToString(endpoint.port()) + ": " + errorMessage);
331+
ErrorMessage("Failed to listen on port " + ToString(endPoint.port()) + ": " + errorMessage);
332332

333333
return m_publisher->IsStarted();
334334
}

src/lib/transport/PublisherInstance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ namespace sttp::transport
9292
// Starts publisher using specified connection info in listening connection mode
9393
// Returns true if publisher was successfully started
9494
// Throws PublisherException for implementation logic errors
95-
virtual bool Start(const sttp::TcpEndPoint& endpoint);
95+
virtual bool Start(const sttp::TcpEndPoint& endPoint);
9696
virtual bool Start(uint16_t port, bool ipV6 = false); // Bind to default NIC
9797
virtual bool Start(const std::string& networkInterfaceIP, uint16_t port); // Bind to specified NIC IP, format determines IP version
9898

0 commit comments

Comments
 (0)