8f33269b03
Reviewers: mferencevic, sasa.stanko Reviewed By: mferencevic, sasa.stanko Differential Revision: https://phabricator.memgraph.io/D693
15 lines
436 B
C++
15 lines
436 B
C++
#include "reactors_distributed.hpp"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
google::InitGoogleLogging(argv[0]);
|
|
Distributed distributed;
|
|
distributed.network().StartClient(1);
|
|
auto channel = distributed.network().Resolve("127.0.0.1", 10000, "master", "main");
|
|
std::cout << channel << std::endl;
|
|
if (channel != nullptr) {
|
|
channel->Send<SenderMessage>("master", "main");
|
|
}
|
|
distributed.network().StopClient();
|
|
return 0;
|
|
}
|