Caplin SL4B SDK 4.5.4

Class SL4B_SlaveFrameRttpProvider

Object
   |
   +--SL4B_AbstractRttpProvider
         |
         +--SL4B_SlaveFrameRttpProvider

class SL4B_SlaveFrameRttpProvider
extends SL4B_AbstractRttpProvider


An RTTP provider for use within slave frames, that proxies all client requests to the RTTP provider within the master frame. This class is also responsible for queuing up any clients requests until the master becomes available.


Constructor Summary
SL4B_SlaveFrameRttpProvider ()
            Constructs a new SL4B_SlaveFrameRttpProvider.
 
Method Summary
 void blockObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList)
           Stops the specified SL4B_AbstractSubscriber from receiving updates for the specified objects.
 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 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.
 boolean createObject(<String> l_sObjectName, <String> l_sRttpType)
           Attempts to create an RTTP object with the specified name and type on the Liberator.
 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 disableWTStatsTimeout(<int> l_nTime)
           Disables the WTStats timeout for the specfied period of time.
 String getFieldNames()
           Gets a comma separated list of the names of all the fields that are available from the Liberator.
 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 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 masterClosing()
           Called when the master frame is closing.
 void masterRegistered(l_oMasterFrameRttpProvider)
           Called by the SL4B_FrameRegistrarAccessor when the master frame loads or as a consequence of the slave calling SL4B_FrameRegistrarAccessor.registerSlaveFrame().
 void reconnect()
           Invoked when a connection to the Liberator is lost and the user wants to attempt a reconnect.
 void register()
           Registers this frame as a slave frame with the SL4B_FrameRegistrarAccessor.
 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.
 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()
           Invoked when this frame is closing.
 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()).
 
Methods inherited from class SL4B_AbstractRttpProvider
getListener, registerSlave, deregisterSlave, getLiberatorConfiguration, connected, loggedIn, credentialsRetrieved, getFilteredObject, getFilteredObjects, removeFilteredObject, removeFilteredObjects, createFieldListForAutoDirectory, createFieldListForContainer, getFilteredNewsHeadline, getFilteredNewsHeadlines, removeFilteredNewsHeadline, removeFilteredNewsHeadlines, getAutoDirectory, removeAutoDirectory, getContainer, setContainerWindow, clearContainerWindow, removeContainer, addConnectionListener, removeConnectionListener
 

Constructor Detail

SL4B_SlaveFrameRttpProvider

SL4B_SlaveFrameRttpProvider()

Method Detail

blockObjectListeners

void blockObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList)

clearObjectListeners

void clearObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <int> l_nDiscardTime)

connect

void connect()

contribObject

void contribObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <SL4B_ContributionFieldData> l_oFieldData)

createObject

boolean createObject(<String> l_sObjectName, <String> l_sRttpType)

debug

void debug(<String> l_sLevelName, <String> l_sMessage)

deleteObject

boolean deleteObject(<String> l_sObjectName)

disableWTStatsTimeout

void disableWTStatsTimeout(<int> l_nTime)

getFieldNames

String getFieldNames()

getObject

void getObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFieldList)

getObjects

void getObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFieldList)

getObjectType

void getObjectType(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName)

getVersion

String getVersion()

getVersionInfo

String getVersionInfo()

initialise

void initialise()

login

void login(<String> l_sUsername, <String> l_sPassword)

logout

void logout()

masterClosing

void masterClosing()

masterRegistered

void masterRegistered(l_oMasterFrameRttpProvider)

reconnect

void reconnect()

register

void register()

removeObject

void removeObject(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectName, <String> l_sFieldList)

removeObjects

void removeObjects(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList, <String> l_sFieldList)

removeSubscriber

void removeSubscriber(<SL4B_AbstractSubscriber> l_oSubscriber)

setDebugLevel

boolean setDebugLevel(<String> l_sLevelName)

setGlobalThrottle

void setGlobalThrottle(<String> l_sThrottleLevel)

setThrottleObject

void setThrottleObject(<String> l_sObjectName, <String> l_sThrottleLevel)

setThrottleObjects

void setThrottleObjects(<String> l_sObjectList, <String> l_sThrottleLevel)

stop

void stop()

unblockObjectListeners

void unblockObjectListeners(<SL4B_AbstractSubscriber> l_oSubscriber, <String> l_sObjectList)

Caplin SL4B SDK 4.5.4

${JSDOC.FOOTER}
Documentation generated by JSDoc on Tue May 12 09:30:26 2009