summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/posix/EventChannelAcceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/posix/EventChannelAcceptor.cpp')
-rw-r--r--cpp/src/qpid/sys/posix/EventChannelAcceptor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/posix/EventChannelAcceptor.cpp b/cpp/src/qpid/sys/posix/EventChannelAcceptor.cpp
index 1a5fceb56e..cbda216cfc 100644
--- a/cpp/src/qpid/sys/posix/EventChannelAcceptor.cpp
+++ b/cpp/src/qpid/sys/posix/EventChannelAcceptor.cpp
@@ -52,6 +52,7 @@ class EventChannelAcceptor : public Acceptor {
);
uint16_t getPort() const;
+ std::string getHost() const;
void run(ConnectionInputHandlerFactory* factory);
@@ -100,6 +101,10 @@ uint16_t EventChannelAcceptor::getPort() const {
return port; // Immutable no need for lock.
}
+uint16_t EventChannelAcceptor::getPort() const {
+ return port; // Immutable no need for lock.
+}
+
void EventChannelAcceptor::run(ConnectionInputHandlerFactory* f) {
{
Mutex::ScopedLock l(lock);