public interface SAService extends ServiceBase
This interface is not meant to be used by the clients of this package.
| Modifier and Type | Method and Description |
|---|---|
ModuleURN |
createStrategy(ClientContext inCtx,
CreateStrategyParameters inParameters)
Creates a strategy.
|
void |
delete(ClientContext inCtx,
ModuleURN inURN)
Deletes the module with the specified URN.
|
List<ModuleURN> |
getInstances(ClientContext inCtx,
ModuleURN inProviderURN)
Returns the list of module instances available at the strategy agent.
|
ModuleInfo |
getModuleInfo(ClientContext inCtx,
ModuleURN inURN)
Gets the module info for the module with the specified URN.
|
MapWrapper<String,Object> |
getProperties(ClientContext inCtx,
ModuleURN inURN)
Fetches the (MXBean) properties of the module with the specified URN.
|
List<ModuleURN> |
getProviders(ClientContext inContext)
Returns the list of providers available at the strategy agent.
|
CreateStrategyParameters |
getStrategyCreateParms(ClientContext inServiceContext,
ModuleURN inURN)
Returns the parameters used to create a strategy.
|
void |
sendData(ClientContext inServiceContext,
Object inData)
Sends the given data to the strategy agent.
|
MapWrapper<String,Object> |
setProperties(ClientContext inCtx,
ModuleURN inURN,
MapWrapper<String,Object> inProperties)
Sets the properties of the module with the specified URN.
|
void |
start(ClientContext inCtx,
ModuleURN inURN)
Starts the module with the specified URN.
|
void |
stop(ClientContext inCtx,
ModuleURN inURN)
Stops the module with the specified URN.
|
List<ModuleURN> getProviders(ClientContext inContext) throws RemoteException
inContext - a ClientContext valueRemoteException - if there were errors communicating with the remote strategy agent.List<ModuleURN> getInstances(ClientContext inCtx, ModuleURN inProviderURN) throws RemoteException
inCtx - the contextinProviderURN - the provider URN. If provided, only the instances
from the specified provider are returned. If null, all the available
instances are returned.RemoteException - if there were errors communicating with the
remote strategy agent.ModuleInfo getModuleInfo(ClientContext inCtx, ModuleURN inURN) throws RemoteException
inCtx - the context.inURN - the module URN.RemoteException - if there were errors communicating with the
remote strategy agent.void start(ClientContext inCtx, ModuleURN inURN) throws RemoteException
inCtx - the context.inURN - the module URN.RemoteException - if there were errors communicating with the
remote strategy agent.void stop(ClientContext inCtx, ModuleURN inURN) throws RemoteException
inCtx - the context.inURN - the module URN.RemoteException - if there were errors communicating with the
remote strategy agent.void delete(ClientContext inCtx, ModuleURN inURN) throws RemoteException
inCtx - the context.inURN - the module URN.RemoteException - if there were errors communicating with the
remote strategy agent.MapWrapper<String,Object> getProperties(ClientContext inCtx, ModuleURN inURN) throws RemoteException
inCtx - the context.inURN - the module URN.RemoteException - if there were errors communicating with the
remote strategy agent.MapWrapper<String,Object> setProperties(ClientContext inCtx, ModuleURN inURN, MapWrapper<String,Object> inProperties) throws RemoteException
inCtx - the context.inURN - the module URN.inProperties - the module properties that need to be set.RemoteException - if there were errors communicating with the
remote strategy agent.ModuleURN createStrategy(ClientContext inCtx, CreateStrategyParameters inParameters) throws RemoteException
inCtx - the context.inParameters - the strategy creation parameters.RemoteException - if there were errors communicating with the
remote strategy agent.CreateStrategyParameters getStrategyCreateParms(ClientContext inServiceContext, ModuleURN inURN) throws RemoteException
inServiceContext - the context.inURN - the strategy module's URN.RemoteException - if there were errors communicating with the
remote strategy agent.void sendData(ClientContext inServiceContext, Object inData) throws RemoteException
Note that if the type of data sent is not a Java basic type, context for that type must be added to both the client and server.
inServiceContext - a ClientContext valueinData - an Object valueRemoteException - if there were errors communicating with the remote strategy agent.Copyright © 2014. All Rights Reserved.