aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/connection.cpp
blob: 07580ce18abc14cda727764e0371d35650f37fa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();
}