public class StatusStub extends com.vmware.vapi.internal.bindings.Stub implements Status
Status
API service.
WARNING: Internal API, subject to change in future versions.
StatusTypes.ServiceStatus
Constructor and Description |
---|
StatusStub(ApiProvider apiProvider,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
StatusTypes.ServiceStatus |
get(String name,
long timeout)
Get status of a service.
|
void |
get(String name,
long timeout,
AsyncCallback<StatusTypes.ServiceStatus> asyncCallback)
Get status of a service.
|
void |
get(String name,
long timeout,
AsyncCallback<StatusTypes.ServiceStatus> asyncCallback,
InvocationConfig invocationConfig)
Get status of a service.
|
StatusTypes.ServiceStatus |
get(String name,
long timeout,
InvocationConfig invocationConfig)
Get status of a service.
|
public StatusStub(ApiProvider apiProvider, StubConfigurationBase config)
public StatusTypes.ServiceStatus get(String name, long timeout)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
public StatusTypes.ServiceStatus get(String name, long timeout, InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(String name, long timeout, AsyncCallback<StatusTypes.ServiceStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Status of the service.
Operation Errors:
Error
- Generic error
public void get(String name, long timeout, AsyncCallback<StatusTypes.ServiceStatus> asyncCallback, InvocationConfig invocationConfig)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Status of the service.
Operation Errors:
Error
- Generic error
Copyright © 2016. All Rights Reserved.