#include <Windows.h>
#include <string>
#include <queue>
#include <mutex>
#include <condition_variable>
#include <thread>
#include "ExtensibilityCore.h"
Go to the source code of this file.
|
| VOID | RunContainerServer (LPVOID ContainerPort) |
| | The RunContainerServer function is a function that runs the container server.
|
| |
◆ RunContainerServer()
| VOID RunContainerServer |
( |
LPVOID |
lpParam | ) |
|
The RunContainerServer function is a function that runs the container server.
- Parameters
-
| lpParam | The port value that is read from the registry. |
Definition at line 105 of file ext_server.cpp.
106{
107 int* ContainerPort = (int*)(lpParam);
108
110 grpc::ServerBuilder builder;
111 std::string server_url = "localhost:" + std::to_string(*ContainerPort);
112 builder.AddListeningPort(server_url, grpc::InsecureServerCredentials(), ContainerPort);
113 builder.RegisterService(&service);
114 std::unique_ptr<grpc::Server> server(builder.BuildAndStart());
115 server->Wait();
116}
The PanoptesImpl class is a class that implements the PanoptesExtensibility::Service interface from t...
Referenced by WinMain().
◆ message_queue_mem_
◆ message_queue_pe_