Caplin SL4B SDK 4.5.4

Class SL4B_AbstractJavaRttpProvider

Object
   |
   +--SL4B_AbstractRttpProvider
         |
         +--SL4B_AbstractJavaRttpProvider
Direct Known Subclasses:
SL4B_AppletRttpProvider

class SL4B_AbstractJavaRttpProvider
extends SL4B_AbstractRttpProvider


Abstract extension of SL4B_AbstractRttpProvider which should be used as the base class for all Java implementations of the interface. It provides standard implementations for the majority of the methods, allowing the sub class to focus primarily on the creation of the applet itself (whether through an applet or an object tag).


Field Summary
 <final> String const_ALL_FIELDS
          The string that is used to request or discard all fields if the the field list argument is omitted.
 
Constructor Summary
SL4B_AbstractJavaRttpProvider ()
            Constructs a SL4B_AbstractJavaRttpProvider.
 
Method Summary
 void appletCheckDownloadComplete()
           Invoked after the GLOBALS.AppletCheckLoaded() method has been called.
 void appletCheckDownloadFailed()
           Invoked if the AppletCheck download timeout period expires before the applet has been loaded.
 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 dequeueUpdates()
           Pops the first item from the update queue and invokes the doAllUpdates method on it.
 void disableWTStatsTimeout(<int> l_nTime)
           Disables the WTStats timeout for the specfied period of time.
 Object getAppletParameterHtml()
           Gets the HTML for the parameters that must be included in the RTTP applet tag in order for it to be configured correctly, according to the configuration that has been specified within the web page.
 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 getRttpAppletId()
           Gets the idendifier that must be given to the RTTP applet HTML element.
 String getVersion()
           Gets the version number of the RTTP provider.
 String getVersionInfo()
           Gets the full version details of the RTTP provider.
 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 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 rttpAppletDownloadComplete()
           Invoked after the GLOBALS.WTAppletLoaded() method has been called.
 void rttpAppletDownloadFailed()
           Invoked if the RTTP applet download timeout period expires before the applet has been loaded.
 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 startAppletCheckTimeout()
           Starts the timeout for the AppletCheck applet.
 void startRttpAppletTimeout()
           Starts the timeout for the RTTP applet.
 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()).
 void urlCheckDownloadFailed()
           Invoked if the urlcheck.js file cannot be loaded from the Liberator.
 String validateFieldList(<String> l_sFieldList)
           Checks whether the field list has been defined or not, and returns the field list that must be requested from the Liberator accordingly.
 void writeAppletToDocument(<String> l_sAppletHtml)
           Writes the specified applet HTML to the document, wrapping it within DIV element to ensure that the applet is not visible within the web page.
 void WTConnectionError(<String> l_sMessage)
           Invoked by the RTTP applet when there is a problem with the connection, such as the connection being lost, or failing to connect.
 void WTConnectionInfo(<String> l_sMessage)
           Invoked by the RTTP applet to provide an informational message about the connection to the Liberator.
 void WTConnectionOk(<String> l_sHostName, <int> l_nConnectionType, <int> l_nTime)
           Invoked by the RTTP applet when a connection to the Liberator is established.
 void WTMessage(<int> l_nRttpCode, <String> l_sMessage)
           Invoked by the RTTP applet when a generic (non source/service) message is received from the Liberator.
 void WTReconnect()
           Invoked by the RTTP applet when it has lost its connection to the Liberator, and its attempts to reconnect have been unsuccessful.
 void WTServiceMessage(<int> l_nRttpCode, <String> l_sServiceId, <String> l_sServiceName, <String> l_sMessage)
           Invoked by the RTTP applet when a service message is received from the Liberator.
 void WTSessionEjected(<int> l_nRttpCode, <String> l_sMessage)
           Invoked by the RTTP applet when a session ejected message is received from the Liberator.
 void WTSourceMessage(<int> l_nRttpCode, <int> l_nSourceNumber, <String> l_sSourceId, <String> l_sMessage)
           Invoked by the RTTP applet when a source message is received from the Liberator.
 void WTStats(<int> l_nNoopTime, <int> l_nNumItems, <int> l_nTime, <int> l_nBytes, <int> l_nQueueLength)
           Invoked periodically by the RTTP applet to provide statistics about the clients connection to the Liberator, and other related information.
 
Methods inherited from class SL4B_AbstractRttpProvider
getListener, initialise, stop, registerSlave, deregisterSlave, getLiberatorConfiguration, connected, loggedIn, credentialsRetrieved, removeSubscriber, getFilteredObject, getFilteredObjects, removeFilteredObject, removeFilteredObjects, createFieldListForAutoDirectory, createFieldListForContainer, getFilteredNewsHeadline, getFilteredNewsHeadlines, removeFilteredNewsHeadline, removeFilteredNewsHeadlines, getAutoDirectory, removeAutoDirectory, getContainer, setContainerWindow, clearContainerWindow, removeContainer, addConnectionListener, removeConnectionListener
 

Field Detail

const_ALL_FIELDS

<final> String const_ALL_FIELDS

Constructor Detail

SL4B_AbstractJavaRttpProvider

SL4B_AbstractJavaRttpProvider()

Method Detail

appletCheckDownloadComplete

void appletCheckDownloadComplete()

appletCheckDownloadFailed

void appletCheckDownloadFailed()

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)

dequeueUpdates

void dequeueUpdates()

disableWTStatsTimeout

void disableWTStatsTimeout(<int> l_nTime)

getAppletParameterHtml

Object getAppletParameterHtml()

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)

getRttpAppletId

String getRttpAppletId()

getVersion

String getVersion()

getVersionInfo

String getVersionInfo()

login

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

logout

void logout()

reconnect

void reconnect()

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)

rttpAppletDownloadComplete

void rttpAppletDownloadComplete()

rttpAppletDownloadFailed

void rttpAppletDownloadFailed()

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)

startAppletCheckTimeout

void startAppletCheckTimeout()

startRttpAppletTimeout

void startRttpAppletTimeout()

unblockObjectListeners

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

urlCheckDownloadFailed

void urlCheckDownloadFailed()

validateFieldList

String validateFieldList(<String> l_sFieldList)

writeAppletToDocument

void writeAppletToDocument(<String> l_sAppletHtml)

WTConnectionError

void WTConnectionError(<String> l_sMessage)

WTConnectionInfo

void WTConnectionInfo(<String> l_sMessage)

WTConnectionOk

void WTConnectionOk(<String> l_sHostName, <int> l_nConnectionType, <int> l_nTime)

WTMessage

void WTMessage(<int> l_nRttpCode, <String> l_sMessage)

WTReconnect

void WTReconnect()

WTServiceMessage

void WTServiceMessage(<int> l_nRttpCode, <String> l_sServiceId, <String> l_sServiceName, <String> l_sMessage)

WTSessionEjected

void WTSessionEjected(<int> l_nRttpCode, <String> l_sMessage)

WTSourceMessage

void WTSourceMessage(<int> l_nRttpCode, <int> l_nSourceNumber, <String> l_sSourceId, <String> l_sMessage)

WTStats

void WTStats(<int> l_nNoopTime, <int> l_nNumItems, <int> l_nTime, <int> l_nBytes, <int> l_nQueueLength)

Caplin SL4B SDK 4.5.4

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