public class RoutesStub extends com.vmware.vapi.internal.bindings.Stub implements Routes
Routes
API service.
WARNING: Internal API, subject to change in future versions.
RoutesTypes.Message, RoutesTypes.MessageStatus, RoutesTypes.Route, RoutesTypes.RouteReadOnly, RoutesTypes.TestStatus, RoutesTypes.TestStatusInfo
Constructor and Description |
---|
RoutesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
add(RoutesTypes.Route route)
Set static routing rules.
|
void |
add(RoutesTypes.Route route,
AsyncCallback<Void> asyncCallback)
Set static routing rules.
|
void |
add(RoutesTypes.Route route,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Set static routing rules.
|
void |
add(RoutesTypes.Route route,
InvocationConfig invocationConfig)
Set static routing rules.
|
void |
delete(RoutesTypes.Route route)
Delete static routing rules.
|
void |
delete(RoutesTypes.Route route,
AsyncCallback<Void> asyncCallback)
Delete static routing rules.
|
void |
delete(RoutesTypes.Route route,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Delete static routing rules.
|
void |
delete(RoutesTypes.Route route,
InvocationConfig invocationConfig)
Delete static routing rules.
|
List<RoutesTypes.RouteReadOnly> |
list()
Get main routing table.
|
void |
list(AsyncCallback<List<RoutesTypes.RouteReadOnly>> asyncCallback)
Get main routing table.
|
void |
list(AsyncCallback<List<RoutesTypes.RouteReadOnly>> asyncCallback,
InvocationConfig invocationConfig)
Get main routing table.
|
List<RoutesTypes.RouteReadOnly> |
list(InvocationConfig invocationConfig)
Get main routing table.
|
void |
set(List<RoutesTypes.Route> routes)
Set static routing rules.
|
void |
set(List<RoutesTypes.Route> routes,
AsyncCallback<Void> asyncCallback)
Set static routing rules.
|
void |
set(List<RoutesTypes.Route> routes,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Set static routing rules.
|
void |
set(List<RoutesTypes.Route> routes,
InvocationConfig invocationConfig)
Set static routing rules.
|
RoutesTypes.TestStatusInfo |
test(List<String> gateways)
Test connection to a list of gateways
|
void |
test(List<String> gateways,
AsyncCallback<RoutesTypes.TestStatusInfo> asyncCallback)
Test connection to a list of gateways
|
void |
test(List<String> gateways,
AsyncCallback<RoutesTypes.TestStatusInfo> asyncCallback,
InvocationConfig invocationConfig)
Test connection to a list of gateways
|
RoutesTypes.TestStatusInfo |
test(List<String> gateways,
InvocationConfig invocationConfig)
Test connection to a list of gateways
|
public RoutesStub(ApiProvider apiProvider, StubConfigurationBase config)
public RoutesTypes.TestStatusInfo test(List<String> gateways)
Routes
Synchronous method overload. Result of the invocation will be reported as a method return value.
public RoutesTypes.TestStatusInfo test(List<String> gateways, InvocationConfig invocationConfig)
Routes
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 test(List<String> gateways, AsyncCallback<RoutesTypes.TestStatusInfo> asyncCallback)
Routes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
connection status
Operation Errors:
Error
- Generic error
public void test(List<String> gateways, AsyncCallback<RoutesTypes.TestStatusInfo> asyncCallback, InvocationConfig invocationConfig)
Routes
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:
connection status
Operation Errors:
Error
- Generic error
public void add(RoutesTypes.Route route)
Routes
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void add(RoutesTypes.Route route, InvocationConfig invocationConfig)
Routes
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(RoutesTypes.Route route, AsyncCallback<Void> asyncCallback)
Routes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void add(RoutesTypes.Route route, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Routes
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<RoutesTypes.Route> routes)
Routes
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(List<RoutesTypes.Route> routes, InvocationConfig invocationConfig)
Routes
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<RoutesTypes.Route> routes, AsyncCallback<Void> asyncCallback)
Routes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void set(List<RoutesTypes.Route> routes, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Routes
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 List<RoutesTypes.RouteReadOnly> list()
Routes
Synchronous method overload. Result of the invocation will be reported as a method return value.
public List<RoutesTypes.RouteReadOnly> list(InvocationConfig invocationConfig)
Routes
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 list(AsyncCallback<List<RoutesTypes.RouteReadOnly>> asyncCallback)
Routes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Routing table.
Operation Errors:
Error
- Generic error
public void list(AsyncCallback<List<RoutesTypes.RouteReadOnly>> asyncCallback, InvocationConfig invocationConfig)
Routes
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:
Routing table.
Operation Errors:
Error
- Generic error
public void delete(RoutesTypes.Route route)
Routes
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(RoutesTypes.Route route, InvocationConfig invocationConfig)
Routes
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(RoutesTypes.Route route, AsyncCallback<Void> asyncCallback)
Routes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void delete(RoutesTypes.Route route, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Routes
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.