public class ForwardingStub extends com.vmware.vapi.internal.bindings.Stub implements Forwarding
Forwarding
API service.
WARNING: Internal class, subject to change in future versions.
ForwardingTypes.Config, ForwardingTypes.ConnectionStatus, ForwardingTypes.Protocol| Constructor and Description |
|---|
ForwardingStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ForwardingStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ForwardingTypes.Config> |
get()
Returns the configuration for forwarding log messages to remote logging servers.
|
void |
get(AsyncCallback<java.util.List<ForwardingTypes.Config>> asyncCallback)
Returns the configuration for forwarding log messages to remote logging servers.
|
void |
get(AsyncCallback<java.util.List<ForwardingTypes.Config>> asyncCallback,
InvocationConfig invocationConfig)
Returns the configuration for forwarding log messages to remote logging servers.
|
java.util.List<ForwardingTypes.Config> |
get(InvocationConfig invocationConfig)
Returns the configuration for forwarding log messages to remote logging servers.
|
void |
set(java.util.List<ForwardingTypes.Config> cfgList)
Sets the configuration for forwarding log messages to remote log servers.
|
void |
set(java.util.List<ForwardingTypes.Config> cfgList,
AsyncCallback<java.lang.Void> asyncCallback)
Sets the configuration for forwarding log messages to remote log servers.
|
void |
set(java.util.List<ForwardingTypes.Config> cfgList,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Sets the configuration for forwarding log messages to remote log servers.
|
void |
set(java.util.List<ForwardingTypes.Config> cfgList,
InvocationConfig invocationConfig)
Sets the configuration for forwarding log messages to remote log servers.
|
java.util.List<ForwardingTypes.ConnectionStatus> |
test(java.lang.Boolean sendTestMessage)
Validates the current log forwarding configuration by checking the liveness of
the remote machine and optionally sending a test diagnostic log message from the
appliance to all configured logging servers to allow manual end-to-end
validation.
|
void |
test(java.lang.Boolean sendTestMessage,
AsyncCallback<java.util.List<ForwardingTypes.ConnectionStatus>> asyncCallback)
Validates the current log forwarding configuration by checking the liveness of
the remote machine and optionally sending a test diagnostic log message from the
appliance to all configured logging servers to allow manual end-to-end
validation.
|
void |
test(java.lang.Boolean sendTestMessage,
AsyncCallback<java.util.List<ForwardingTypes.ConnectionStatus>> asyncCallback,
InvocationConfig invocationConfig)
Validates the current log forwarding configuration by checking the liveness of
the remote machine and optionally sending a test diagnostic log message from the
appliance to all configured logging servers to allow manual end-to-end
validation.
|
java.util.List<ForwardingTypes.ConnectionStatus> |
test(java.lang.Boolean sendTestMessage,
InvocationConfig invocationConfig)
Validates the current log forwarding configuration by checking the liveness of
the remote machine and optionally sending a test diagnostic log message from the
appliance to all configured logging servers to allow manual end-to-end
validation.
|
public ForwardingStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ForwardingStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ForwardingTypes.ConnectionStatus> test(java.lang.Boolean sendTestMessage)
ForwardingSynchronous method overload. Result of the invocation will be reported as a method return value.
test in interface ForwardingsendTestMessage - Flag specifying whether a default test message should be sent to the configured
logging servers.
If null, no test message will be sent to the configured remote logging
servers.public java.util.List<ForwardingTypes.ConnectionStatus> test(java.lang.Boolean sendTestMessage, InvocationConfig invocationConfig)
ForwardingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
test in interface ForwardingsendTestMessage - Flag specifying whether a default test message should be sent to the configured
logging servers.
If null, no test message will be sent to the configured remote logging
servers.invocationConfig - Configuration for the method invocation.public void test(java.lang.Boolean sendTestMessage,
AsyncCallback<java.util.List<ForwardingTypes.ConnectionStatus>> asyncCallback)
ForwardingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Information about the status of the connection to each of the remote logging
servers.
test in interface ForwardingsendTestMessage - Flag specifying whether a default test message should be sent to the configured
logging servers.
If null, no test message will be sent to the configured remote logging
servers.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void test(java.lang.Boolean sendTestMessage,
AsyncCallback<java.util.List<ForwardingTypes.ConnectionStatus>> asyncCallback,
InvocationConfig invocationConfig)
ForwardingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Information about the status of the connection to each of the remote logging
servers.
test in interface ForwardingsendTestMessage - Flag specifying whether a default test message should be sent to the configured
logging servers.
If null, no test message will be sent to the configured remote logging
servers.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void set(java.util.List<ForwardingTypes.Config> cfgList)
ForwardingSynchronous method overload. Result of the invocation will be reported as a method return value.
set in interface ForwardingcfgList - The cfgList is a list of Config structure that contains the log message
forwarding rules in terms of the host, port, protocol of the log message.public void set(java.util.List<ForwardingTypes.Config> cfgList, InvocationConfig invocationConfig)
ForwardingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
set in interface ForwardingcfgList - The cfgList is a list of Config structure that contains the log message
forwarding rules in terms of the host, port, protocol of the log message.invocationConfig - Configuration for the method invocation.public void set(java.util.List<ForwardingTypes.Config> cfgList, AsyncCallback<java.lang.Void> asyncCallback)
ForwardingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidArgument - if an invalid configuration is provided.
UnableToAllocateResource - if the number of configurations exceeds the maximum number of supported
configurations.
Error - if there is any internal error during the execution of the operation.
set in interface ForwardingcfgList - The cfgList is a list of Config structure that contains the log message
forwarding rules in terms of the host, port, protocol of the log message.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void set(java.util.List<ForwardingTypes.Config> cfgList, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ForwardingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidArgument - if an invalid configuration is provided.
UnableToAllocateResource - if the number of configurations exceeds the maximum number of supported
configurations.
Error - if there is any internal error during the execution of the operation.
set in interface ForwardingcfgList - The cfgList is a list of Config structure that contains the log message
forwarding rules in terms of the host, port, protocol of the log message.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.util.List<ForwardingTypes.Config> get()
ForwardingSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Forwardingpublic java.util.List<ForwardingTypes.Config> get(InvocationConfig invocationConfig)
ForwardingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface ForwardinginvocationConfig - Configuration for the method invocation.public void get(AsyncCallback<java.util.List<ForwardingTypes.Config>> asyncCallback)
ForwardingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Information about the configuration for forwarding log messages to remote
logging servers.
get in interface ForwardingasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<java.util.List<ForwardingTypes.Config>> asyncCallback, InvocationConfig invocationConfig)
ForwardingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Information about the configuration for forwarding log messages to remote
logging servers.
get in interface ForwardingasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.