summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/BrokerAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/broker/BrokerAdapter.cpp')
-rw-r--r--cpp/lib/broker/BrokerAdapter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/lib/broker/BrokerAdapter.cpp b/cpp/lib/broker/BrokerAdapter.cpp
index 58062d4471..41a66b6727 100644
--- a/cpp/lib/broker/BrokerAdapter.cpp
+++ b/cpp/lib/broker/BrokerAdapter.cpp
@@ -491,13 +491,14 @@ BrokerAdapter::ServerOps::ChannelHandlerImpl::ok( const MethodContext& )
void
BrokerAdapter::ServerOps::ChannelHandlerImpl::ping( const MethodContext& )
{
- assert(0); // FIXME aconway 2007-01-04: 0-9 feature
+ connection.client->getChannel().ok(channel.getId());
+ connection.client->getChannel().pong(channel.getId());
}
void
BrokerAdapter::ServerOps::ChannelHandlerImpl::pong( const MethodContext& )
{
- assert(0); // FIXME aconway 2007-01-04: 0-9 feature
+ connection.client->getChannel().ok(channel.getId());
}
void