Documentation ¶
Overview ¶
Package javaapi provides Java interface for orchestration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OrchestrationInit ¶
func OrchestrationInit(executeCallback ExecuteCallback) (errCode int)
OrchestrationInit runs orchestration service and discovers remote orchestration services
Types ¶
type ExecuteCallback ¶
type ExecuteCallback interface { androidexecutor.ExecuteCallback }
ExecuteCallback is required to launch application in java layer
type ReqeustService ¶
type ReqeustService struct { ServiceName string SelfSelection bool ServiceRequester string ServiceInfo []RequestServiceInfo }
func (ReqeustService) GetExecutionCommand ¶
func (r ReqeustService) GetExecutionCommand(execType string) string
func (*ReqeustService) SetExecutionCommand ¶
func (r *ReqeustService) SetExecutionCommand(execType string, command string)
type RequestServiceInfo ¶
type ResponseService ¶
type ResponseService struct { Message string ServiceName string RemoteTargetInfo *TargetInfo }
func OrchestrationRequestService ¶
func OrchestrationRequestService(request *ReqeustService) *ResponseService
OrchestrationRequestService performs request from service applications which uses orchestration service
func (ResponseService) GetExecutedType ¶
func (r ResponseService) GetExecutedType() string
func (ResponseService) GetTarget ¶
func (r ResponseService) GetTarget() string
type TargetInfo ¶
Click to show internal directories.
Click to hide internal directories.