aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test/helper/hanging_server.cpp
blob: a35514b00d423340c1dd4e5e57ba37e3bd52cadd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "hanging_server.h"

#include <util/system/yassert.h>

using namespace NBus;

THangingServer::THangingServer(int port) {
    BindResult = BindOnPort(port, false);
}

int THangingServer::GetPort() const {
    return BindResult.first;
}