aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/messagebus/connection.cpp')
-rw-r--r--library/cpp/messagebus/connection.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/library/cpp/messagebus/connection.cpp b/library/cpp/messagebus/connection.cpp
new file mode 100644
index 0000000000..07580ce18a
--- /dev/null
+++ b/library/cpp/messagebus/connection.cpp
@@ -0,0 +1,16 @@
+#include "connection.h"
+
+#include "remote_client_connection.h"
+
+#include <util/generic/cast.h>
+
+using namespace NBus;
+using namespace NBus::NPrivate;
+
+void TBusClientConnectionPtrOps::Ref(TBusClientConnection* c) {
+ return CheckedCast<TRemoteClientConnection*>(c)->Ref();
+}
+
+void TBusClientConnectionPtrOps::UnRef(TBusClientConnection* c) {
+ return CheckedCast<TRemoteClientConnection*>(c)->UnRef();
+}