public interface Status extends Service, StatusTypes
Status interface provides methods Get status of a service.StatusTypes.ServiceStatus| 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.
|
StatusTypes.ServiceStatus get(String name, long timeout)
Synchronous method overload. Result of the invocation will be reported as a method return value.
name - Name of a service.timeout - Timeout in seconds. Zero (0) means no timeout.Error - Generic errorStatusTypes.ServiceStatus get(String name, long timeout, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
name - Name of a service.timeout - Timeout in seconds. Zero (0) means no timeout.invocationConfig - Configuration for the method invocation.Error - Generic errorvoid get(String name, long timeout, AsyncCallback<StatusTypes.ServiceStatus> asyncCallback)
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
name - Name of a service.timeout - Timeout in seconds. Zero (0) means no timeout.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(String name, long timeout, AsyncCallback<StatusTypes.ServiceStatus> asyncCallback, InvocationConfig invocationConfig)
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
name - Name of a service.timeout - Timeout in seconds. Zero (0) means no timeout.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2016. All Rights Reserved.