aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test/helper/hanging_server.cpp
blob: ce09e75273c3f3548454bca2c8174f1f49999d11 (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;
}