public interface Proxy extends Service, ProxyTypes
Proxy
interface provides methods Proxy configuration.ProxyTypes.Message, ProxyTypes.MessageStatus, ProxyTypes.ProxyConfig, ProxyTypes.ProxyConfigMultiple, ProxyTypes.ProxyConfigTest, ProxyTypes.ProxyProtocol, ProxyTypes.ProxyStatus, ProxyTypes.TestStatus, ProxyTypes.TestStatusInfo
Modifier and Type | Method and Description |
---|---|
void |
delete(ProxyTypes.ProxyProtocol protocol)
Delete a Proxy configuration for a specific protocol.
|
void |
delete(ProxyTypes.ProxyProtocol protocol,
AsyncCallback<Void> asyncCallback)
Delete a Proxy configuration for a specific protocol.
|
void |
delete(ProxyTypes.ProxyProtocol protocol,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Delete a Proxy configuration for a specific protocol.
|
void |
delete(ProxyTypes.ProxyProtocol protocol,
InvocationConfig invocationConfig)
Delete a Proxy configuration for a specific protocol.
|
ProxyTypes.ProxyConfigMultiple |
get()
Get proxy configuration for all protocols.
|
void |
get(AsyncCallback<ProxyTypes.ProxyConfigMultiple> asyncCallback)
Get proxy configuration for all protocols.
|
void |
get(AsyncCallback<ProxyTypes.ProxyConfigMultiple> asyncCallback,
InvocationConfig invocationConfig)
Get proxy configuration for all protocols.
|
ProxyTypes.ProxyConfigMultiple |
get(InvocationConfig invocationConfig)
Get proxy configuration for all protocols.
|
void |
set(ProxyTypes.ProxyConfigMultiple config)
Set Proxy configuration.
|
void |
set(ProxyTypes.ProxyConfigMultiple config,
AsyncCallback<Void> asyncCallback)
Set Proxy configuration.
|
void |
set(ProxyTypes.ProxyConfigMultiple config,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Set Proxy configuration.
|
void |
set(ProxyTypes.ProxyConfigMultiple config,
InvocationConfig invocationConfig)
Set Proxy configuration.
|
ProxyTypes.TestStatusInfo |
test(ProxyTypes.ProxyConfigTest config)
Test a Proxy configuration by testing the connection to the proxy server and
test host.
|
void |
test(ProxyTypes.ProxyConfigTest config,
AsyncCallback<ProxyTypes.TestStatusInfo> asyncCallback)
Test a Proxy configuration by testing the connection to the proxy server and
test host.
|
void |
test(ProxyTypes.ProxyConfigTest config,
AsyncCallback<ProxyTypes.TestStatusInfo> asyncCallback,
InvocationConfig invocationConfig)
Test a Proxy configuration by testing the connection to the proxy server and
test host.
|
ProxyTypes.TestStatusInfo |
test(ProxyTypes.ProxyConfigTest config,
InvocationConfig invocationConfig)
Test a Proxy configuration by testing the connection to the proxy server and
test host.
|
ProxyTypes.TestStatusInfo test(ProxyTypes.ProxyConfigTest config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- Proxy configuration to testError
- Generic errorProxyTypes.TestStatusInfo test(ProxyTypes.ProxyConfigTest config, 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.
config
- Proxy configuration to testinvocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid test(ProxyTypes.ProxyConfigTest config, AsyncCallback<ProxyTypes.TestStatusInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Status of proxy settings.
Operation Errors:
Error
- Generic error
config
- Proxy configuration to testasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void test(ProxyTypes.ProxyConfigTest config, AsyncCallback<ProxyTypes.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:
Status of proxy settings.
Operation Errors:
Error
- Generic error
config
- Proxy configuration to testasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void set(ProxyTypes.ProxyConfigMultiple config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- List of Proxy configurations to be set.Error
- Generic errorvoid set(ProxyTypes.ProxyConfigMultiple config, 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.
config
- List of Proxy configurations to be set.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(ProxyTypes.ProxyConfigMultiple config, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
config
- List of Proxy configurations to be set.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(ProxyTypes.ProxyConfigMultiple config, 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
config
- List of Proxy configurations to be set.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(ProxyTypes.ProxyProtocol protocol)
Synchronous method overload. Result of the invocation will be reported as a method return value.
protocol
- Protocol to delete proxy of.Error
- Generic errorvoid delete(ProxyTypes.ProxyProtocol protocol, 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.
protocol
- Protocol to delete proxy of.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid delete(ProxyTypes.ProxyProtocol protocol, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
protocol
- Protocol to delete proxy of.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(ProxyTypes.ProxyProtocol protocol, 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
protocol
- Protocol to delete proxy of.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ProxyTypes.ProxyConfigMultiple get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorProxyTypes.ProxyConfigMultiple get(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 get(AsyncCallback<ProxyTypes.ProxyConfigMultiple> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
proxy configuration for all protocols.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<ProxyTypes.ProxyConfigMultiple> 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:
proxy configuration for all protocols.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.