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