Navigation
API > API/Plugins > API/Plugins/MLAdapter > API/Plugins/MLAdapter/UMLAdapterManager
Description
Starts a new RPC server. If a server is already running, it will be shut down before the new instance gets created.
| Name | StartServer |
| Type | function |
| Header File | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Managers/MLAdapterManager.h |
| Include Path | #include "Managers/MLAdapterManager.h" |
| Source | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Private/Managers/MLAdapterManager.cpp |
virtual void StartServer
(
uint16 Port,
EMLAdapterServerMode InMode,
uint16 ServerThreads
)
Parameters
| Name | Remarks |
|---|---|
| ServerThreads | best set at the number of external clients that are going to be connecting |