Methods
handleGetCurrentTarget()
handleGetCurrentTarget():Handle a request to get the currently active target for the server. Promise which will resolve with a currently active target if request was successful or reject if it failed.Promise<TargetInfo[]>
Returns
Promise<TargetInfo[]>
handleGetAvailableTargets()
handleGetAvailableTargets():Handle a request to get all currently available targets. Promise which will resolve with a list of available targets if request was successful or reject if it failed.Promise<TargetInfo[]>
Returns
Promise<TargetInfo[]>
handleNavigateTargetRequest()
handleNavigateTargetRequest(targetInfo: TargetInfo, data?:Handle a request to navigate to a specified target.string | undefined):Promise<string>
Parameters
targetInfo
TargetInfo The target to navigate to.data?
string | undefined
Optional data sent by the client along with the navigation request.
Promise which will resolve with a status string if the request was successful or
reject if it failed.
Returns
Promise<string>
