| Package | Description |
|---|---|
| org.marketcetera.saclient |
The client for communicating with remote instances of a strategy agent.
|
| org.marketcetera.saclient.rpc |
| Modifier and Type | Method and Description |
|---|---|
protected ConnectionException |
AbstractSAClient.wrapRemoteFailure(Exception inFailure)
Creates a connection exception wrapping the supplied exception.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleURN |
SAClient.createStrategy(CreateStrategyParameters inParameters)
Creates a new strategy module using the given strategy creation parameters.
|
void |
SAClient.delete(ModuleURN inURN)
Deletes the module instance having the supplied URN.
|
protected void |
AbstractSAClient.failIfDisconnected()
Fails if the connection to the client is closed or disconnected.
|
List<ModuleURN> |
SAClient.getInstances(ModuleURN inProviderURN)
Returns the list of module instances available.
|
ModuleInfo |
SAClient.getModuleInfo(ModuleURN inURN)
Returns the module information for the module instance with the supplied URN.
|
Map<String,Object> |
SAClient.getProperties(ModuleURN inURN)
Fetches all the available properties of the module with the supplied URN.
|
List<ModuleURN> |
SAClient.getProviders()
Returns the list of providers available.
|
CreateStrategyParameters |
SAClient.getStrategyCreateParms(ModuleURN inURN)
Fetches the strategy creation parameters (including the strategy script)
for the strategy with the supplied URN.
|
void |
SAClient.sendData(Object inData)
Sends the given object to the Strategy Agent where registered listeners will receive it.
|
Map<String,Object> |
SAClient.setProperties(ModuleURN inURN,
Map<String,Object> inProperties)
Sets the supplied properties of the module.
|
void |
SAClient.start(ModuleURN inURN)
Starts the module instance having the supplied URN.
|
void |
SAClient.stop(ModuleURN inURN)
Stops the module instance having the supplied URN.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleURN |
RpcSAClientImpl.createStrategy(CreateStrategyParameters inParameters) |
void |
RpcSAClientImpl.delete(ModuleURN inURN) |
List<ModuleURN> |
RpcSAClientImpl.getInstances(ModuleURN inProviderURN) |
ModuleInfo |
RpcSAClientImpl.getModuleInfo(ModuleURN inURN) |
Map<String,Object> |
RpcSAClientImpl.getProperties(ModuleURN inURN) |
List<ModuleURN> |
RpcSAClientImpl.getProviders() |
CreateStrategyParameters |
RpcSAClientImpl.getStrategyCreateParms(ModuleURN inURN) |
void |
RpcSAClientImpl.sendData(Object inData) |
Map<String,Object> |
RpcSAClientImpl.setProperties(ModuleURN inURN,
Map<String,Object> inProperties) |
void |
RpcSAClientImpl.start(ModuleURN inURN) |
void |
RpcSAClientImpl.stop(ModuleURN inURN) |
Copyright © 2014. All Rights Reserved.