public class ServerStub extends com.vmware.vapi.internal.bindings.Stub implements Server
Server
API service.
WARNING: Internal API, subject to change in future versions.
Constructor and Description |
---|
ServerStub(ApiProvider apiProvider,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
add(List<String> servers)
Add NTP servers.
|
void |
add(List<String> servers,
AsyncCallback<Void> asyncCallback)
Add NTP servers.
|
void |
add(List<String> servers,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Add NTP servers.
|
void |
add(List<String> servers,
InvocationConfig invocationConfig)
Add NTP servers.
|
void |
delete(List<String> servers)
Delete NTP servers.
|
void |
delete(List<String> servers,
AsyncCallback<Void> asyncCallback)
Delete NTP servers.
|
void |
delete(List<String> servers,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Delete NTP servers.
|
void |
delete(List<String> servers,
InvocationConfig invocationConfig)
Delete NTP servers.
|
void |
set(List<String> servers)
Set NTP servers.
|
void |
set(List<String> servers,
AsyncCallback<Void> asyncCallback)
Set NTP servers.
|
void |
set(List<String> servers,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Set NTP servers.
|
void |
set(List<String> servers,
InvocationConfig invocationConfig)
Set NTP servers.
|
public ServerStub(ApiProvider apiProvider, StubConfigurationBase config)
public void add(List<String> servers)
Server
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void add(List<String> servers, InvocationConfig invocationConfig)
Server
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 add(List<String> servers, AsyncCallback<Void> asyncCallback)
Server
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void add(List<String> servers, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Server
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
public void set(List<String> servers)
Server
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(List<String> servers, InvocationConfig invocationConfig)
Server
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 set(List<String> servers, AsyncCallback<Void> asyncCallback)
Server
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void set(List<String> servers, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Server
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
public void delete(List<String> servers)
Server
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(List<String> servers, InvocationConfig invocationConfig)
Server
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 delete(List<String> servers, AsyncCallback<Void> asyncCallback)
Server
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void delete(List<String> servers, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Server
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
Copyright © 2016. All Rights Reserved.