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