public interface Routes extends Service, RoutesTypes
Routes
interface provides methods Performs networking routes operations.RoutesTypes.Message, RoutesTypes.MessageStatus, RoutesTypes.Route, RoutesTypes.RouteReadOnly, RoutesTypes.TestStatus, RoutesTypes.TestStatusInfo
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
|
RoutesTypes.TestStatusInfo test(List<String> gateways)
Synchronous method overload. Result of the invocation will be reported as a method return value.
gateways
- list of gateways.Error
- Generic errorRoutesTypes.TestStatusInfo test(List<String> gateways, 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.
gateways
- list of gateways.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid test(List<String> gateways, AsyncCallback<RoutesTypes.TestStatusInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
connection status
Operation Errors:
Error
- Generic error
gateways
- list of gateways.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void test(List<String> gateways, AsyncCallback<RoutesTypes.TestStatusInfo> 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:
connection status
Operation Errors:
Error
- Generic error
gateways
- list of gateways.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void add(RoutesTypes.Route route)
Synchronous method overload. Result of the invocation will be reported as a method return value.
route
- Static routing rule.Error
- Generic errorvoid add(RoutesTypes.Route route, 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.
route
- Static routing rule.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid add(RoutesTypes.Route route, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
route
- Static routing rule.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void add(RoutesTypes.Route route, AsyncCallback<Void> 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 Errors:
Error
- Generic error
route
- Static routing rule.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void set(List<RoutesTypes.Route> routes)
Synchronous method overload. Result of the invocation will be reported as a method return value.
routes
- Static routing rules.Error
- Generic errorvoid set(List<RoutesTypes.Route> routes, 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.
routes
- Static routing rules.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(List<RoutesTypes.Route> routes, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
routes
- Static routing rules.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(List<RoutesTypes.Route> routes, AsyncCallback<Void> 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 Errors:
Error
- Generic error
routes
- Static routing rules.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.List<RoutesTypes.RouteReadOnly> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorList<RoutesTypes.RouteReadOnly> list(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.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid list(AsyncCallback<List<RoutesTypes.RouteReadOnly>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Routing table.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<List<RoutesTypes.RouteReadOnly>> 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:
Routing table.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(RoutesTypes.Route route)
Synchronous method overload. Result of the invocation will be reported as a method return value.
route
- Static routing rule.Error
- Generic errorvoid delete(RoutesTypes.Route route, 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.
route
- Static routing rule.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid delete(RoutesTypes.Route route, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
route
- Static routing rule.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(RoutesTypes.Route route, AsyncCallback<Void> 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 Errors:
Error
- Generic error
route
- Static routing rule.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.