Protocol connector factory
Bases: object
Protocol connector factory
Protocol connector factory init
Generic client connector
Bases: vmware.vapi.protocol.client.connector.Connector
A generic protocol connector
Generic protocol connector init
Parameters: |
|
---|
get api provider
Return type: | vmware.vapi.core.ApiProvider |
---|---|
Returns: | api provider |
create new execution context object
Return type: | vmware.vapi.core.ExecutionContext |
---|---|
Returns: | execution context |
Set the application context
All the subsequent calls made using this connector will use this as the application context in the ExecutionContext
Parameters: | ctx (vmware.vapi.core.ApplicationContext) – New application context |
---|
Set the security context
All the subsequent calls made using this connector will use this as the security context in the ExecutionContext
Parameters: | ctx (vmware.vapi.core.SecurityContext) – New security context |
---|
Json client handler
Bases: vmware.vapi.core.ApiProvider
Json rpc client provider
Json rpc client provider init
Parameters: | rpc_provider (vmware.vapi.protocol.client.rpc.provider.RpcProvider) – rpc provider object |
---|
Invokes the specified method using the input value and the the execution context provided
Parameters: |
|
---|---|
Return type: | |
Returns: | method result object |
Get protocol connector
Parameters: | rpc_provider (vmware.vapi.protocol.client.rpc.provider.RpcProvider) – rpc provider object |
---|---|
Return type: | vmware.vapi.protocol.client.connector.Connector |
Returns: | json rpc connector object |