IRobotServerFactory Interface. More...
import "BotPlatformSDK.idl";
Public Member Functions | |
HRESULT | Init ([in] LONG threadCount) |
HRESULT | Destroy () |
HRESULT | CreateRobotServer ([in] BSTR ip,[in] LONG port,[out, retval] IRobotServer **ppRobotServer) |
IRobotServerFactory Interface.
HRESULT IRobotServerFactory::CreateRobotServer | ( | [in] BSTR | ip, | |
[in] LONG | port, | |||
[out, retval] IRobotServer ** | ppRobotServer | |||
) |
Create a RobotServer instance
[in] | ip | IP of BOTPLATFORM for RobotServer to login |
[in] | port | Port of BOTPLATFORM for RobotServer to login |
[out] | ppRobotServer | A pointer that receives a pointer to a new instance of the IRobotServer |
HRESULT IRobotServerFactory::Destroy | ( | ) |
Destroy robot server factory
HRESULT IRobotServerFactory::Init | ( | [in] LONG | threadCount | ) |
Init robot server factory
[in] | threadCount | Count of work threads |