|
Caplin SL4B SDK 4.4.11 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--SL4B_AbstractRttpProvider
| Field Summary | |
<static> String |
const_OBJECT_NAME_DELIMITER
The delimiter character that is used to separate object names in requests for multiple objects. |
| Method Summary | |
void
|
addConnectionListener(<SL4B_ConnectionListener> l_oConnectionListener)
Adds the specified SL4B_ConnectionListener to the collection of connection
listeners that will be notified when a connection event occurs.
|
void
|
blockObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList)
Stops the specified SL4B_AbstractSubscriber from receiving updates for the
specified objects.
|
void
|
clearContainerWindow(<Object> l_oContainerKey)
Clears the container window. |
void
|
clearObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <int> l_nDiscardTime)
Removes all the subscriptions for the specified SL4B_AbstractSubscriber.
|
void
|
connect()
Invoked when a connection to the Liberator needs to be established. |
void
|
connected()
This method must be invoked when a connection to the Liberator has been established. |
void
|
contribObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <SL4B_ContributionFieldData> l_oFieldData)
Contributes the specified field name/value data to the RTTP object with the specified name. |
Object
|
createFieldListForAutoDirectory(<String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
Creates a field list that contains the automatic subscription fields, a filter (if specified) and the specified field list. |
Object
|
createFieldListForContainer(l_sUniqueId, l_sFieldList, l_nWindowStart, l_nWindowEnd)
|
boolean
|
createObject(<String> l_sObjectName, <String> l_sRttpType)
Attempts to create an RTTP object with the specified name and type on the Liberator. |
void
|
credentialsRetrieved()
This method must be invoked once the credentials that will be used to log into the Liberator have been retrieved, but before the login message is sent. |
void
|
debug(<String> l_sLevelName, <String> l_sMessage)
Adds the specified debug message to the debug log provided the specified level is of equal or higher priority to the current debug level of the RTTP provider (see SL4B_AbstractRttpProvider.setDebugLevel()). |
boolean
|
deleteObject(<String> l_sObjectName)
Attempts to delete the RTTP object with the specified name from the Liberator. |
void
|
deregisterSlave(<String> l_sSlaveFrameId, <SL4B_SlaveFrameRttpProvider> l_oSlaveFrameRttpProvider, <SL4B_SubscriptionManager> l_oSlaveFrameSubscriptionManager)
Invoked when a SL4B_SlaveFrameRttpProvider wants to deregister itself with the master frames RTTP provider. |
void
|
disableWTStatsTimeout(<int> l_nTime)
Disables the WTStats timeout for the specfied period of time. |
void
|
getAutoDirectory(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sDirectoryName, <String> l_sFieldList, <String> l_sFilter, <boolean> l_bIsUpdateFilter)
Requests the specified directory from the Liberator. |
Object
|
getContainer(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sContainerName, <String> l_sFieldList, <int> l_nWindowStart, <int> l_nWindowEnd)
Requests the specified container from the Liberator. |
String
|
getFieldNames()
Gets a comma separated list of the names of all the fields that are available from the Liberator. |
void
|
getFilteredNewsHeadline(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter)
Requests the specified RTTP news headline object, with the specified filter, from the Liberator. |
void
|
getFilteredNewsHeadlines(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter)
Requests the specified RTTP news headline objects, with the specified filter, from the Liberator. |
void
|
getFilteredObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
Requests the specified list of fields for the specified RTTP object, using the specified filter, from the Liberator. |
void
|
getFilteredObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
Requests the specified list of fields for the specified RTTP objects, using the specified filter, from the Liberator. |
String
|
getListener(<SL4B_AbstractSubscriber> l_oSubscriber)
Gets the listener string that will be used by the RTTP provider to uniquely indentify the SL4B_AbstractSubscriber that will be notified of updates.
|
void
|
getObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFieldList)
Requests the specified list of fields for the specified RTTP object from the Liberator. |
void
|
getObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFieldList)
Requests the specified list of fields for the specified RTTP objects from the Liberator. |
void
|
getObjectType(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName)
Requests the specified type of the RTTP object from the Liberator. |
String
|
getVersion()
Gets the version number of the RTTP provider. |
String
|
getVersionInfo()
Gets the full version details of the RTTP provider. |
void
|
initialise()
Invoked immediately after the concrete SL4B_AbstractRttpProvider has been set.
|
void
|
loggedIn()
This method must be invoked when the RTTP provider has successfully logged into a Liberator. |
void
|
login(<String> l_sUsername, <String> l_sPassword)
This method must be invoked by the SL4B_AbstractCredentialsProvider that was responsible for getting the username and password to login to the Liberator. |
void
|
logout()
Logs out of the Liberator. |
void
|
reconnect()
Invoked when a connection to the Liberator is lost and the user wants to attempt a reconnect. |
void
|
registerSlave(<String> l_sSlaveFrameId, <SL4B_SlaveFrameRttpProvider> l_oSlaveFrameRttpProvider, <SL4B_SubscriptionManager> l_oSlaveFrameSubscriptionManager)
Invoked when a SL4B_SlaveFrameRttpProvider wants to register itself with the master frames RTTP provider. |
void
|
removeAutoDirectory(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sDirectoryName, <String> l_sFieldList, <String> l_sFilter, <boolean> l_bIsUpdateFilter)
Cancels the specified SL4B_AbstractSubscribers subscription for the given directory
|
boolean
|
removeConnectionListener(<SL4B_ConnectionListener> l_oConnectionListener)
Removes the specified SL4B_ConnectionListener from the collection of connection
listeners that will be notified when a connection event occurs.
|
void
|
removeContainer(<SL4B_AbstractSubscriber> l_oSubscriber, <Object> l_oContainerKey)
Cancels the specified SL4B_AbstractSubscribers subscription for the given container.
|
void
|
removeFilteredNewsHeadline(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter)
Cancels the specified SL4B_AbstractSubscribers subscription for the specified RTTP
news headline object with the specified filter from the Liberator.
|
void
|
removeFilteredNewsHeadlines(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter)
Cancels the specified SL4B_AbstractSubscribers subscription for the specified RTTP
news headline objects with the specified filter from the Liberator.
|
void
|
removeFilteredObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
Cancels the specified SL4B_AbstractSubscribers subscription for the specified RTTP
object, using the specified filter, from the Liberator.
|
void
|
removeFilteredObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
Cancels the specified SL4B_AbstractSubscribers subscription for the specified RTTP
objects, using the specified filter, from the Liberator.
|
void
|
removeObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFieldList)
Cancels the specified SL4B_AbstractSubscribers subscription for the list of fields
for the specified RTTP object.
|
void
|
removeObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFieldList)
Cancels the specified SL4B_AbstractSubscribers subscription for the list of fields
for the specified RTTP objects.
|
void
|
removeSubscriber(<SL4B_AbstractSubscriber> l_oSubscriber)
Cancels the specified SL4B_AbstractSubscribers subscription for all RTTP objects and fields
and removed.
|
void
|
setContainerWindow(<Object> l_oContainerKey, <int> l_nWindowStart, <int> l_nWindowEnd)
Changes the container window (ie the page of the container that is subscribed to). |
boolean
|
setDebugLevel(<String> l_sLevelName)
Sets the level that is used to determine whether or not a debug message is added to the debug log or not. |
void
|
setGlobalThrottle(<String> l_sThrottleLevel)
Sets the throttle level that will be applied to all the objects that the client subscribes to. |
void
|
setThrottleObject(<String> l_sObjectName, <String> l_sThrottleLevel)
Sets the throttle level for the specified RTTP object. |
void
|
setThrottleObjects(<String> l_sObjectList, <String> l_sThrottleLevel)
Sets the throttle level for all of the specified RTTP objects. |
void
|
stop()
Invoking this method causes the connection to the Liberator to be closed, and any necessary clean up to occur. |
void
|
unblockObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList)
Allows the specified SL4B_AbstractSubscriber to start receiving updates for the
specified objects which had previously been blocked (see
SL4B_AbstractRttpProvider.blockObjectListeners()).
|
| Field Detail |
<static> String const_OBJECT_NAME_DELIMITER
| Method Detail |
void addConnectionListener(<SL4B_ConnectionListener> l_oConnectionListener)
SL4B_ConnectionListener to the collection of connection
listeners that will be notified when a connection event occurs. It is possible to add the same
listener multiple times, in which case it will be notified of a single connection event multiple
times (equal to the number of times it has been registered).l_oConnectionListener - The connection listener to be registered with this SL4B_AbstractRttpProvider.
void blockObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList)
SL4B_AbstractSubscriber from receiving updates for the
specified objects. The Liberator will continue to send the updates, however they are not passed
onto the subscriber.l_oSubscriber - The SL4B_AbstractSubscriber that will have updates to its requested objects blocked.
l_sObjectList - [optional] A space separated list of the names of the RTTP objects to be have their updates blocked. If omitted, all the objects that the SL4B_AbstractSubscriber has subscribed to will have their updates blocked.
void clearContainerWindow(<Object> l_oContainerKey)
l_oContainerKey - The unique token identifying the container, returned by the original getContainer() call.
void clearObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <int> l_nDiscardTime)
SL4B_AbstractSubscriber.l_oSubscriber - The SL4B_AbstractSubscriber that will have all its object requests discarded.
l_nDiscardTime - [optional] The length of time (in milliseconds) to wait before discarding the subscriptions from the Liberator. If this is omitted, a value of 10000 is used.
void connect()
SL4B_AbstractRttpProvider subclass to know when it can safely invoke this
method.
SL4B_AbstractRttpProvider must have an
implementation for this method.void connected()
void contribObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <SL4B_ContributionFieldData> l_oFieldData)
SL4B_AbstractSubscriber will be informed if the contribution is
successful or not.l_oSubscriber - The SL4B_AbstractSubscriber that will be informed whether the contribution was successful or not.
l_sObjectName - The name of the RTTP object the specified data will be contributed to.
l_oFieldData - The field name/value pair data to be contributed.
Object createFieldListForAutoDirectory(<String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
l_sFilter - The filter to be added to the field list. This can be null or undefined.
l_bIsUpdateFilter - [optional] true if an update only filter must be used, otherwise false. If this argument is omitted, it will default to true.
l_sFieldList - [optional] A comma separated list of fields.
Object createFieldListForContainer(l_sUniqueId, l_sFieldList, l_nWindowStart, l_nWindowEnd)
boolean createObject(<String> l_sObjectName, <String> l_sRttpType)
l_sObjectName - The name of the RTTP object to be created on the Liberator.
l_sRttpType - The type of object to be created. The SL4B_ObjectType singleton defines the possible values.
true if the object was successfully created, otherwise false.
void credentialsRetrieved()
SL4B_ConnectionListeners are notified of the event.void debug(<String> l_sLevelName, <String> l_sMessage)
l_sLevelName - The name of the debug level at which the message should be output to the debug log.
l_sMessage - The message to be output to the debug log.
boolean deleteObject(<String> l_sObjectName)
l_sObjectName - The name of the RTTP object to be deleted.
true if the object was successfully deleted, otherwise false.
void deregisterSlave(<String> l_sSlaveFrameId, <SL4B_SlaveFrameRttpProvider> l_oSlaveFrameRttpProvider, <SL4B_SubscriptionManager> l_oSlaveFrameSubscriptionManager)
l_sSlaveFrameId - The identifier for the slave frame.
l_oSlaveFrameRttpProvider - The RTTP provider for the slave frame.
l_oSlaveFrameSubscriptionManager - The subscription manager for the slave frame.
void disableWTStatsTimeout(<int> l_nTime)
l_nTime - The number of milliseconds the WTStats timeout will be disabled for.
void getAutoDirectory(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sDirectoryName, <String> l_sFieldList, <String> l_sFilter, <boolean> l_bIsUpdateFilter)
l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified object.
l_sDirectoryName - The name of the RTTP object to be requested from the Liberator.
l_sFieldList - [optional] A comma separated list of the fields to be requested for the specified objects. If this argument is omitted, all the fields will be requested.
l_sFilter - [optional] The filter to apply to the directory listing (see SL4B_AbstractRttpProvider.getFilteredObject() for syntax information).
l_bIsUpdateFilter - [optional] true if an update only filter must be used, otherwise false. If this argument is omitted, it will default to true (see SL4B_AbstractRttpProvider.getFilteredObject() for more information).
Object getContainer(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sContainerName, <String> l_sFieldList, <int> l_nWindowStart, <int> l_nWindowEnd)
l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified object.
l_sContainerName - The name of the RTTP object to be requested from the Liberator.
l_sFieldList - [optional] A comma separated list of the fields to be requested for the specified objects. If this argument is omitted, all the fields will be requested.
l_nWindowStart - [optional] The start index of the container window.
l_nWindowEnd - [optional] The end index of the container window.
String getFieldNames()
void getFilteredNewsHeadline(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter)
SL4B_AbstractSubscriber.
| Character | Meaning |
|---|---|
| [space] | or |
| | | or |
| + | and |
| & | and |
| - | and |
| = | equals |
| ! | not |
| ~ | contains |
| ' | start or end of free text search string |
| " | start or end of free text search string |
| () | parenthesis—perform these filters first |
l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified object.
l_sObjectName - The name of the RTTP news headline object to be requested from the Liberator.
l_sFilter - The filter that will be applied to the headlines (see method documentation above for syntax information).
void getFilteredNewsHeadlines(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter)
SL4B_AbstractSubscriber.l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified objects.
l_sObjectList - A space separated list of the names of the RTTP news headline objects to be requested from the Liberator.
l_sFilter - The filter that will be applied to the headlines (see SL4B_AbstractRttpProvider.getFilteredNewsHeadline() for syntax information).
void getFilteredObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
SL4B_AbstractSubscriber.
getFilteredObject(this, "DEMO/MSFT", "(dLast > 50) & (dVolumeAcc > 1000)", true, "dLast, dVolumeAcc")
will only receive updates where dLast is greater than 50, and/or dVolumeAcc
is greater than 1000. The following tables list the valid filter syntax:
| Character | Meaning |
|---|---|
| ¦ | or |
| & | and |
| = | equals |
| ! | not |
| < | less than |
| > | greater than |
| () | parenthesis—perform these filters first |
l_bIsUpdateFilter argument. If the l_bIsUpdateFilter argument is omitted,
an update filter will be applied.
(BidSize > 1000) & (AskSize > 1000) is
used):
| Bid | BidSize | AskSize | Ask | Matches Image Filter? | Matches Update Filter? |
|---|---|---|---|---|---|
| 54.25 | 1500 | 2000 | 55.00 | Yes | Yes |
| 54.00 | 2000 | {none} | {none} | Yes | No |
| 54.50 | 500 | {none} | {none} | No | No |
| 54.25 | 1500 | 54.75 | 500 | No | No |
| 54.00 | 2000 | 54.75 | 1500 | Yes | Yes |
l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified object.
l_sObjectName - The name of the RTTP object to be requested from the Liberator.
l_sFilter - A set of conditions for limiting the updates that will be returned for the server.
l_bIsUpdateFilter - [optional] true if an update only filter must be used, otherwise false. If this argument is omitted, it will default to true.
l_sFieldList - [optional] A comma separated list of the fields to be requested for the specified object. If this argument is omitted, all the fields will be requested.
void getFilteredObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
SL4B_AbstractSubscriber.
l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified objects.
l_sObjectList - A space separated list of the names of the RTTP objects to be requested from the Liberator.
l_sFilter - A set of conditions for limiting the updates that will be returned for the server (see SL4B_AbstractRttpProvider.getFilteredObject() for syntax information).
l_bIsUpdateFilter - [optional] true if an update only filter must be used, otherwise false. If this argument is omitted, it will default to true (see SL4B_AbstractRttpProvider.getFilteredObject() for more information).
l_sFieldList - [optional] A comma separated list of the fields to be requested for the specified objects. If this argument is omitted, all the fields will be requested.
String getListener(<SL4B_AbstractSubscriber> l_oSubscriber)
SL4B_AbstractSubscriber that will be notified of updates. This string can be
evaluated by the RTTP provider to get a reference the actual subscriber object that an update
will be sent to, and must include the location of the subscriber within the DOM. This identifier
is obtained by invoking the SL4B_AbstractSubscriber.getIdentifier() method.
l_oSubscriber - - The subscriber that needs to be registered with the RTTP applet.
SL4B_AbstractSubscriber, and is not a String.void getObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFieldList)
SL4B_AbstractSubscriber.l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified object.
l_sObjectName - The name of the RTTP object to be requested from the Liberator.
l_sFieldList - [optional] A comma separated list of the fields to be requested for the specified object. If this argument is omitted, all the fields will be requested.
void getObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFieldList)
SL4B_AbstractSubscriber.l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of updates to the specified objects.
l_sObjectList - A space separated list of the names of the RTTP objects to be requested from the Liberator.
l_sFieldList - [optional] A comma separated list of the fields to be requested for the specified objects. If this argument is omitted, all the fields will be requested.
void getObjectType(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName)
SL4B_AbstractSubscriber will be notified of the objects type.l_oSubscriber - The SL4B_AbstractSubscriber that will be informed of the specified objects type.
l_sObjectName - The name of the RTTP object to be requested from the Liberator.
String getVersion()
String getVersionInfo()
void initialise()
SL4B_AbstractRttpProvider has been set. This
method should be invoked whilst the web page is still loading (i.e. it is still safe to add
elements to the DOM using document.write). It should be used to initialise the RTTP
communication mechanism that is going to be used (e.g. download the RTTP applet).
SL4B_AbstractRttpProvider must have an
implementation for this method.void loggedIn()
void login(<String> l_sUsername, <String> l_sPassword)
l_sUsername - The username to use to login to the Liberator.
l_sPassword - The password (or token) to use to login to the Liberator.
void logout()
void reconnect()
SL4B_AbstractRttpProvider subclass to know when
it can safely invoke this method.
SL4B_AbstractRttpProvider must have an
implementation for this method.void registerSlave(<String> l_sSlaveFrameId, <SL4B_SlaveFrameRttpProvider> l_oSlaveFrameRttpProvider, <SL4B_SubscriptionManager> l_oSlaveFrameSubscriptionManager)
l_sSlaveFrameId - The identifier for the slave frame.
l_oSlaveFrameRttpProvider - The RTTP provider for the slave frame.
l_oSlaveFrameSubscriptionManager - The subscription manager for the slave frame.
void removeAutoDirectory(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sDirectoryName, <String> l_sFieldList, <String> l_sFilter, <boolean> l_bIsUpdateFilter)
SL4B_AbstractSubscribers subscription for the given directoryl_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified object.
l_sDirectoryName - The name of the RTTP object to be discarded from the Liberator.
l_sFieldList - [optional] A comma separated list of the fields to be discarded for the specified object. If this argument is omitted, all the fields will be discarded.
l_sFilter - [optional] The filter that was applied to the directory listing (see SL4B_AbstractRttpProvider.getFilteredObject() for syntax information).
l_bIsUpdateFilter - [optional] true if an update only filter must be used, otherwise false. If this argument is omitted, it will default to true (see SL4B_AbstractRttpProvider.getFilteredObject() for more information).
boolean removeConnectionListener(<SL4B_ConnectionListener> l_oConnectionListener)
SL4B_ConnectionListener from the collection of connection
listeners that will be notified when a connection event occurs. If the connection listener has
been registered multiple times, only the first occurrance will be removed.l_oConnectionListener - The connection listener to be deregistered with this SL4B_AbstractRttpProvider.
true if the connection listener had previously been registered, otherwise false.
void removeContainer(<SL4B_AbstractSubscriber> l_oSubscriber, <Object> l_oContainerKey)
SL4B_AbstractSubscribers subscription for the given container.l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified object.
l_oContainerKey - The unique token identifying the container, returned by the original getContainer() call.
void removeFilteredNewsHeadline(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter)
SL4B_AbstractSubscribers subscription for the specified RTTP
news headline object with the specified filter from the Liberator.l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified object.
l_sObjectName - The name of the RTTP news headline object to be discarded from the Liberator.
l_sFilter - The filter that was applied to the headlines when the subscription was made (see SL4B_AbstractRttpProvider.getFilteredNewsHeadline() for syntax information).
void removeFilteredNewsHeadlines(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter)
SL4B_AbstractSubscribers subscription for the specified RTTP
news headline objects with the specified filter from the Liberator.l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified objects.
l_sObjectList - A space separated list of the names of the RTTP news headline objects to be discarded from the Liberator.
l_sFilter - The filter that was applied to the headlines when the subscription was made (see SL4B_AbstractRttpProvider.getFilteredNewsHeadline() for syntax information).
void removeFilteredObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
SL4B_AbstractSubscribers subscription for the specified RTTP
object, using the specified filter, from the Liberator.
l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified object.
l_sObjectName - The name of the RTTP object to be discarded from the Liberator.
l_sFilter - A set of conditions for limiting the updates that will be returned for the server (see SL4B_AbstractRttpProvider.getFilteredObject() for syntax information).
l_bIsUpdateFilter - [optional] true if an update only filter must be used, otherwise false. If this argument is omitted, it will default to true (see SL4B_AbstractRttpProvider.getFilteredObject() for more information).
l_sFieldList - [optional] A comma separated list of the fields to be discarded for the specified object. If this argument is omitted, all the fields will be discarded.
void removeFilteredObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFilter, <boolean> l_bIsUpdateFilter, <String> l_sFieldList)
SL4B_AbstractSubscribers subscription for the specified RTTP
objects, using the specified filter, from the Liberator.
l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified objects.
l_sObjectList - A space separated list of the names of the RTTP objects to be discarded from the Liberator.
l_sFilter - A set of conditions for limiting the updates that will be returned for the server (see SL4B_AbstractRttpProvider.getFilteredObject() for syntax information).
l_bIsUpdateFilter - [optional] true if an update only filter must be used, otherwise false. If this argument is omitted, it will default to true (see SL4B_AbstractRttpProvider.getFilteredObject() for more information).
l_sFieldList - [optional] A comma separated list of the fields to be discarded for the specified objects. If this argument is omitted, all the fields will be discarded.
void removeObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFieldList)
SL4B_AbstractSubscribers subscription for the list of fields
for the specified RTTP object. This can be used to discard a subset of the fields that have
previously been requested for the object.l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified object.
l_sObjectName - The name of the RTTP object to be discarded from the Liberator.
l_sFieldList - [optional] A comma separated list of the fields to be discarded for the specified object. If this argument is omitted, all the fields will be discarded.
void removeObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFieldList)
SL4B_AbstractSubscribers subscription for the list of fields
for the specified RTTP objects. This can be used to discard a subset of the fields that have
previously been requested for these objects.l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of updates to the specified objects.
l_sObjectList - A space separated list of the names of the RTTP objects to be discarded from the Liberator.
l_sFieldList - [optional] A comma separated list of the fields to be discarded for the specified objects. If this argument is omitted, all the fields will be discarded.
void removeSubscriber(<SL4B_AbstractSubscriber> l_oSubscriber)
SL4B_AbstractSubscribers subscription for all RTTP objects and fields
and removed.l_oSubscriber - The SL4B_AbstractSubscriber that will cease to be informed of all updates and be removed.
void setContainerWindow(<Object> l_oContainerKey, <int> l_nWindowStart, <int> l_nWindowEnd)
l_oContainerKey - The unique token identifying the container, returned by the original getContainer() call.
l_nWindowStart - The start index of the container window.
l_nWindowEnd - The end index of the container window.
boolean setDebugLevel(<String> l_sLevelName)
l_sLevelName - The name of the debug level to be set.
true if the specified level was successfully set, false otherwise.
void setGlobalThrottle(<String> l_sThrottleLevel)
l_sThrottleLevel - The throttle level to be applied to for all requested objects.
void setThrottleObject(<String> l_sObjectName, <String> l_sThrottleLevel)
l_sObjectName - The name of the RTTP object to be throttled.
l_sThrottleLevel - The throttle level to be applied to the specified object.
void setThrottleObjects(<String> l_sObjectList, <String> l_sThrottleLevel)
l_sObjectList - A space separated list of the names of the RTTP objects to be throttled.
l_sThrottleLevel - The throttle level to be applied to the specified objects.
void stop()
void unblockObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList)
SL4B_AbstractSubscriber to start receiving updates for the
specified objects which had previously been blocked (see
SL4B_AbstractRttpProvider.blockObjectListeners()).l_oSubscriber - The SL4B_AbstractSubscriber that will have updates to its requested objects unblocked.
l_sObjectList - [optional] A space separated list of the names of the RTTP objects to be have their updates unblocked. If omitted, all the objects that the SL4B_AbstractSubscriber has subscribed to will have their updates unblocked.
|
Caplin SL4B SDK 4.4.11 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||