A B C D E F G H I L M N O P R S T U W

A

addNotificationListener(NotificationListener) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.applet.NotificationBroadcaster
Register a listener to this broadcaster.
addNotificationListener(NotificationListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
 
addNotificationListener(NotificationListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
 
addNotificationListener(NotificationListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Add a listener for Notifications that will be recieved asynchronously.
APP_AB_LISTENER_REGISTRY - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
APP_AB_TOPIC_CONNECTION - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
AS_NAME - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PriceGenConfig
The name of the Asynch Bean used for this Price Generator
AS_NAME - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickStreamConfig
The name of the Asynch Bean used for this Price Generator
AS_SSM_PRICEGEN - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
The name of the Price Generator Subsystem Monitor

B

BaseAsynchServlet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
 
BaseAsynchServlet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.BaseAsynchServlet
 

C

cancel() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.PingerHandler
Tell this thread to cancel itself.
cancel() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Cancel this monitor.
cancel() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
Cancel this thread.
cancel() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Cancel this monitor.
CLIENT_AB_SERVLET_LISTENER - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_AB_TICKERS - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_AB_TICKERS_OLD - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_COOKIE_NAME - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_HEARTBEAT_DEAD - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_HEARTBEAT_INTERVAL - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_HEARTBEAT_STALE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_PARAM_ADDTICKER - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_PARAM_CLIENTID - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_PARAM_RMVTICKER - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_PARAM_STREAM_NAME - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
CLIENT_PARAM_TICKERS - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
ClientInstruction - Class in com.ibm.websphere.samples.asynchbeans.wstrader
A simple response message interface.
close() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
Close down the queue and stop all blocking
com.ibm.websphere.samples.asynchbeans.wstrader - package com.ibm.websphere.samples.asynchbeans.wstrader
 
com.ibm.websphere.samples.asynchbeans.wstrader.applet - package com.ibm.websphere.samples.asynchbeans.wstrader.applet
 
com.ibm.websphere.samples.asynchbeans.wstrader.pricegen - package com.ibm.websphere.samples.asynchbeans.wstrader.pricegen
 
com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb - package com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
 
com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web - package com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web
 
com.ibm.websphere.samples.asynchbeans.wstrader.tickstream - package com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
 
com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb - package com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb
 
com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web - package com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
 
Config - Class in com.ibm.websphere.samples.asynchbeans.wstrader
Various configuration information and constants for the application.
Config() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
ControllerServlet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web
Price Generator Control Servlet allows starting and stopping the Price Generator
ControllerServlet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web.ControllerServlet
Constructor for TickerStreamerServlet.
cookie - Variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.LoginInfo
 
create(int, int, int) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Create a new singleton ServerMonitor or get the currently created on if one already exists
create(URL, Hashtable, String, String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
Create a new singleton ServerMonitor or get the currently created on if one already exists
create(URL) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Initialize the singleton URLSenderHandler.
create() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlHome
Creates a default instance of Session Bean: PriceGenControlBean
create() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlLocalHome
Creates a default instance of Session Bean: PriceGenControlBean
create(Long) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocalHome
Creates an instance from a key for Entity Bean: RawTickerConfig
createClientState(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.BaseAsynchServlet
 
createCommandStatusResponse(String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Create a response to a command
createCommandStatusResponse(String, String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Create a response to a command with user data
createErrorResponse(String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Create an Error response
createErrorResponse(String, Throwable) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Create an Error response for a given exception
createResponseFromString(String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Attempt to parse a line of text into a ClientInstruction object.
createStatusResponse(String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Create a Status response
createTickerResponse(String, String, double, double, double, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Create a Ticker price update response
CurrentQueue - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
A queue of the most current objects.
CurrentQueue(int) - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
Create a queue that can have maxSize elements in it.

D

deQueue(int) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
Remove an item from the front of the queue.
destroy() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
Destroy the AsynchScope where our StreamAppliationState is stored.
destroy() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Destroy this instance.
destroyed(AsynchScope) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
 
destroyed(AsynchScope) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
destroyed(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
destroyed(AsynchScope) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
/** This is only called when either the client logs out or the SSM associated with the clienyt detected that the client is not responsive.
destroyed(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web.ControllerServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LoginServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LogoutServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.PingServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.StreamingServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.UpdateServlet
 
doLogin(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Login to the WebSphere Trader Streamer servlet using the supplied clientid.
doLogout(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Logout from the WebSphere Trader application by way of the logout servlet.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web.ControllerServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LoginServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LogoutServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.PingServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.StreamingServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.UpdateServlet
 
doProcess(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web.ControllerServlet
Process all client requests
doProcess(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LoginServlet
Process all client requests
doProcess(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LogoutServlet
Process all client requests
doProcess(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.PingServlet
Process all client requests
doProcess(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.StreamingServlet
Handle all client requests.
doProcess(HttpServletRequest, HttpServletResponse) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.UpdateServlet
Process all client requests
doUpdate(String, String, String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Update the current client's ticker symbols on the WebSphere Trader application by way of the update servlet.

E

ejbActivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
ejbActivate
ejbActivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
 
ejbActivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
ejbActivate
ejbActivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
ejbActivate
ejbCreate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
ejbCreate
ejbCreate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
ejbCreate
ejbCreate(Long) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
ejbCreate method for a CMP entity bean.
ejbCreate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.PriceGenHeartBeatMDBBean
ejbCreate
ejbCreate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
ejbCreate
ejbLoad() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
ejbLoad
ejbPassivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
 
ejbPassivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
 
ejbPassivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
ejbPassivate
ejbPassivate() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
 
ejbPostCreate(Long) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
ejbPostCreate
ejbRemove() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
ejbRemove
ejbRemove() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
 
ejbRemove() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
ejbRemove
ejbRemove() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.PriceGenHeartBeatMDBBean
ejbRemove
ejbRemove() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
ejbRemove
ejbStore() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
ejbStore
enQueue(Object) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
Add an item to the end of the queue.

F

findAllTickers() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocalHome
 
findByPrimaryKey(Long) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocalHome
Finds an instance using a key for Entity Bean: RawTickerConfig
findStreamer(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Find a streamer by it's name
fireCurState() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Fire an event with our current status.
fired(Alarm) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PriceHeartBeatAlarm
 
fired(Alarm) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PricePublisherAlarm
 
fired(Alarm) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamHeartBeatAlarm
 

G

getApplicationState(WorkManager, boolean) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
This is the method used to get the ApplicationState object.
getApplicationState() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Gets the appState.
getAppProperty(String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
Retrive a property from the application's configuration file.
getAppProperty(String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PriceGenConfig
Retrive a property from the application's configuration file.
getAppProperty(String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickStreamConfig
Retrive a property from the application's configuration file.
getAskPrice() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getAsynchScope() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
Retrieve the Asynchronous Scope associated with this application state.
getBidPrice() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getCancelled() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.PingerHandler
Find out if this thread has been asked to cancel itself.
getCancelled() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Find out if the thread has been requested to end.
getCancelled() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
True if we have been asked to cancel the thread.
getCancelled() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Find out if the thread has been requested to end.
getClientAsynchScope() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Get the client Asynch Scope that is associated with this Client State
getClientID() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Get the ID of the client that is associated with this Client State
getClientState(String, boolean) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
Retrieve a new or existing client state.
getClientState(StreamApplicationState, String, boolean) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Create a StreamClientState instance for a specific client id and application state.
getClientState(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.BaseAsynchServlet
 
getCommand() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getCommandStatus() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getCommandUserData() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getCookie() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Gets the cookie.
getCookieValue(Cookie[], String, String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.BaseAsynchServlet
Returns a cookie value for a given array of cookies, a cookie name and a key.
getEntityContext() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
getEntityContext
getErrorException() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getErrorMessage() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getErrorType() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getEventSource() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
This returns the EventSource associated with this listener.
getId() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: Id
getId() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: Id
getLineFromInputStream(InputStreamReader) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Utility
Retrieve a single line of text from teh InputStreamReader using an ASCII code of 10 for the end of line character.
getMessageDrivenContext() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.PriceGenHeartBeatMDBBean
getMessageDrivenContext
getName() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
This returns the name of this streamer.
getPriceDeltaByTick() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: priceDeltaByTick
getPriceDeltaByTick() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: priceDeltaByTick
getPriceGeneratorSSM() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
This is exposed to clients can register listeners on it to be notified when the price generator goes down or recovers.
getResponseType() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getSelf() - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Get the singleton ServerMonitor
getSelf() - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
Get the singleton StreamerHandler
getSelf() - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Return a singleton instance of the URLSenderHandler.
getSessionContext() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
getSessionContext
getSessionContext() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
getSessionContext
getSessionContext() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
getSessionContext
getStartPrice() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: startPrice
getStartPrice() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: startPrice
getStatus() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Returns the status.
getStatusSource() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getStatusValue() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getStreamerName() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
Retreive the name of this streamer
getSubscribedTickers() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
Returns the subscribedTickers.
getTextResponse() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
Assemble a simple response that is delimited by an EOL character.
getTicker() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: ticker
getTicker() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: ticker
getTicker() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
 
getTickerDecisionRange() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: tickerDecisionRange
getTickerDecisionRange() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: tickerDecisionRange
getTickerDownTickRange() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: tickerDownTickRange
getTickerDownTickRange() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: tickerDownTickRange
getTickerPrice() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getTickerSubscriber(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
We could have given each attach client its own set of dynamically started JMS listeners.
getTickerSymbol() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getTickerTime() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getTickerType() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
getTickerUpTickRange() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: tickerUpTickRange
getTickerUpTickRange() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: tickerUpTickRange
getTickPeriod() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Get accessor for persistent attribute: tickPeriod
getTickPeriod() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Get accessor for persistent attribute: tickPeriod
GRID_COL_ASK - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
GRID_COL_BID - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
GRID_COL_SYMBOL - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
GRID_COL_TIME - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 

H

handleClientPing() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Handles pings from the Ping servlet for a given client
handleHeartBeat(ClientInstruction) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamHeartBeatEvents
A generic Ping event.
handleHeartBeat(ClientInstruction) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
Handle pings from the Stream HeartBeat Alarm
handleNotification(Notification) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.applet.NotificationListener
Respond to the input Notification.
handleNotification(Notification) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Handle callbacks from our various HTTP data streams and threads.
handlePriceGenPing() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
This is called whenever a heart beat message is received from the price generator.

I

init() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Initialize the Applet
init() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.web.ControllerServlet
 
init() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.BaseAsynchServlet
Initialize the servlet.
initialize() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
Initialize this object
isClosed() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
 
isDebug() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Returns the isDebug.

L

listenerCountChanged(EventSource, int, int) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
 
listenerCountChanged(EventSource, int, int) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
listenerCountChanged(EventSource, int, int) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
 
listenerCountChanged(EventSource, int, int) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
If the listener counter falls to one listener, then that means we're the only listener and therefore we will stop the Work by calling release and this will stop us listening needlessly when no one is listening to the received messages.
listenerExceptionThrown(EventSource, Object, String, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
 
listenerExceptionThrown(EventSource, Object, String, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
listenerExceptionThrown(EventSource, Object, String, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
 
listenerExceptionThrown(EventSource, Object, String, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
 
LoginInfo - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
Container for login information
LoginInfo() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.applet.LoginInfo
 
LoginServlet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
Handle TickerStreamer login requests
LoginServlet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LoginServlet
Constructor for TickerStreamerServlet.
LogoutServlet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
Handle TickerStreamer logout requests
LogoutServlet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.LogoutServlet
Constructor for TickerStreamerServlet.

M

mySessionCtx - Variable in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
 

N

Notification - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
Simple Notification class that encapuslates notification information.
NOTIFICATION_LOGIN - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Notification
 
NOTIFICATION_LOGOUT - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Notification
 
NOTIFICATION_PING - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Notification
 
NOTIFICATION_PRICEUPDATE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Notification
 
NOTIFICATION_STATUS - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Notification
 
NOTIFICATION_UPDATE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Notification
 
NotificationBroadcaster - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.applet
A simplified interface for handling the broadcasting of asynchronous events
NotificationListener - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.applet
A simplified interface for listening for asynchronous events.

O

onMessage(Message) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.PriceGenHeartBeatMDBBean
onMessage

P

peekFirst() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
Rreturn the first item from the queue.
peekLast() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
Return the last item fromt he queue.
ping() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Reset the state of the monitor to Alive and fire a fresh event if the current state is stale or dead.
PingerHandler - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
Keeps the current client alive by pinging every n seconds
PingServlet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
 
PingServlet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.PingServlet
Constructor for TickerStreamerServlet.
PRICEGEN_HEARTBEAT_DEAD - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
PRICEGEN_HEARTBEAT_INTERVAL - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
PRICEGEN_HEARTBEAT_STALE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
PRICEGEN_PRICETYPE_DOWN - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
PRICEGEN_PRICETYPE_STATIC - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
PRICEGEN_PRICETYPE_UP - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
PriceGenBootstrapBean - Class in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
This is a startup bean that kicks off the price publishers when the enterprise application starts.
PriceGenBootstrapBean() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
 
PriceGenConfig - Class in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen
Various configuration information and constants for the application.
PriceGenConfig() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PriceGenConfig
 
PriceGenControl - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Remote interface for Enterprise Bean: PriceGenControlBean
PriceGenControlBean - Class in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Contains all logic for starting and stopping a Price Generator.
PriceGenControlBean() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
 
PriceGenControlHome - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Home interface for Enterprise Bean: PriceGenControlBean
PriceGenControlLocal - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Local interface for Enterprise Bean: PriceGenControlBean
PriceGenControlLocalHome - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Local Home interface for Enterprise Bean: PriceGenControlBean
PriceGenHeartBeatMDBBean - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb
Bean implementation class for Enterprise Bean: PriceGenHeartBeatMDB
PriceGenHeartBeatMDBBean() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.PriceGenHeartBeatMDBBean
 
PriceHeartBeatAlarm - Class in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen
An asynchronous Alarm that fires at a given interval and posts a Ping message on a queue
PriceHeartBeatAlarm(int, Topic) - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PriceHeartBeatAlarm
Create a PricePublisherAlarm.
PricePublisherAlarm - Class in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen
An asynchronous Alarm that fires at a given interval for a specific ticker symbol.
PricePublisherAlarm(RawTickerConfigLocal, Topic) - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PricePublisherAlarm
Create a PricePublisherAlarm.

R

RawTickerConfigBean - Class in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Bean implementation class for Enterprise Bean: RawTickerConfig
RawTickerConfigBean() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
 
RawTickerConfigLocal - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Local interface for Enterprise Bean: RawTickerConfig
RawTickerConfigLocalHome - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb
Local Home interface for Enterprise Bean: RawTickerConfig
registerStreamer(StreamListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
A client can have multiple streaming connections concurrently.
REGISTRY_KEY_PRICEGEN_AUTOSTART - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.PriceGenConfig
If true, automatically start the price generator when the application starts.
REGISTRY_KEY_TICKSTREAM_AUTOSTART - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickStreamConfig
If true, automatically start the price generator when the application starts.
release() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
This when called will cause the run method to exit.
removeNotificationListener(NotificationListener) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.applet.NotificationBroadcaster
Remove the specified listener from this broadcaster.
removeNotificationListener(NotificationListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
 
removeNotificationListener(NotificationListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
 
removeNotificationListener(NotificationListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Remove a listener from the Notification list.
removeTickerSubscriber(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
This is called by TickerSubscriber when it notices that there are no more listeners attached to it.
RESPONSE_COMMAND_LOGIN - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_COMMAND_LOGOUT - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_COMMAND_UPDATE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_COMMANDSTATUS_FAIL - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_COMMANDSTATUS_SUCCESS - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_DELIMITER - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_ERRORMSG_NOLOGIN - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_ERRORMSG_NOSTREAMER - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_ERRORTYPE_ERRORMESSAGE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_ERRORTYPE_EXCEPTION - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_STATUS_SOURCE_PRICEGEN - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_STATUS_SOURCE_STREAMSERVER - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_STATUS_VALUE_ALIVE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_STATUS_VALUE_DEAD - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_STATUS_VALUE_FRESH - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_STATUS_VALUE_STALE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_TYPE_COMMANDSTATUS - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_TYPE_ERROR - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_TYPE_STATUS - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
RESPONSE_TYPE_TICKER - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
run() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.PingerHandler
 
run() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Each x milliseconds (heartbeat interval), decrement the number of beats it will take to become stale or dead.
run() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerHandler
 
run() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Execute the URLSender loop.
run() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
This is the actual 'thread' which listens for prices.

S

sendLoginMessage(String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Send a Client Login message to the TickerStreamer server app.
sendLogoutMessage(String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Send a Client Logout message to the TickerStreamer server app.
sendMessages() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
Send all ticker update messages from our buffer to the associated servlet's PrintWriter.
sendPingMessage(String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Send a Ping message to the TickerStreamer server app.
sendUpdateMessage(String, String, String) - Static method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.URLSenderHandler
Send a Change Tickers message to the TickerStreamer server app.
ServerMonitor - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
A ServerMonitor is a singleton object (one per JVM) that monitors the status of a server.
setApplicationState(StreamApplicationState) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Sets the appState.
setCookie(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Sets the cookie.
setEntityContext(EntityContext) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
setEntityContext
setId(Long) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: Id
setId(Long) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: Id
setIsDebug(boolean) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Sets the isDebug.
setMessageDrivenContext(MessageDrivenContext) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.PriceGenHeartBeatMDBBean
setMessageDrivenContext
setPriceDeltaByTick(Double) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: priceDeltaByTick
setPriceDeltaByTick(Double) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: priceDeltaByTick
setSessionContext(SessionContext) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
setSessionContext
setSessionContext(SessionContext) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
 
setSessionContext(SessionContext) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
setSessionContext
setStartPrice(Double) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: startPrice
setStartPrice(Double) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: startPrice
setStatus(int) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.ServerMonitor
Sets the status.
setTextResponse(HttpServletResponse, boolean) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.BaseAsynchServlet
 
setTicker(String) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: ticker
setTicker(String) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: ticker
setTickerDecisionRange(Integer) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: tickerDecisionRange
setTickerDecisionRange(Integer) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: tickerDecisionRange
setTickerDownTickRange(Integer) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: tickerDownTickRange
setTickerDownTickRange(Integer) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: tickerDownTickRange
setTickerUpTickRange(Integer) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: tickerUpTickRange
setTickerUpTickRange(Integer) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: tickerUpTickRange
setTickPeriod(Long) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
Set accessor for persistent attribute: tickPeriod
setTickPeriod(Long) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigLocal
Set accessor for persistent attribute: tickPeriod
size() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.CurrentQueue
Return the size of the queue
SSM_CLIENT - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
start() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Start the Applet
start() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
Start the Price Publishers when the application starts.
start() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
Start the Ticker Streamer Application when the application starts.
startPinger() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Start our client pinger to keep the client information on the server alive.
startPinging() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.PingerHandler
Start a thread to continually ping the server.
startPublishers() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControl
 
startPublishers() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
This method starts the price generator alarms when the application starts.
startPublishers() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlLocal
 
STATUS_PRICEFEED_ALIVE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Each active streamer in the applet has an entry here.
STATUS_PRICEFEED_DEAD - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
STATUS_PRICEFEED_STALE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
STATUS_SERVER_ALIVE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
STATUS_SERVER_DEAD - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
STATUS_SERVER_STALE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
stop() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Stop the Applet
stop() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
This stops the publishers when the application stops.
stop() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
This stops the Ticker Streamer Application when the application stops
stopPinger() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
Stop our client pinger.
stopPublishers() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControl
 
stopPublishers() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlBean
Destroy the price publishers and all associated resources.
stopPublishers() - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenControlLocal
 
StreamApplicationState - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
This class holds the application state.
StreamClientState - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
Contains all logic for maintaining the state of a client (login id).
StreamerApplet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
The WebSphere Trader Applet client
StreamerApplet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.applet.StreamerApplet
 
StreamerHandler - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
The WebSphere Trader Client interface to the remote HTTP server.
StreamHeartBeatAlarm - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
A simple alarm that fires StreamHeartBeatEvent events to all listeners of the input EventSource.
StreamHeartBeatEvents - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
 
StreamingServlet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
This is a simple implementation of HTTP push.
StreamingServlet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.StreamingServlet
Constructor for TickerStreamerServlet.
StreamListener - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
This is created the by stream servlet.
StreamListener(StreamClientState, PrintWriter, String) - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
Create a new Servlet Listener
STREAMSERVER_HEARTBEAT_DEAD - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
STREAMSERVER_HEARTBEAT_INTERVAL - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
STREAMSERVER_HEARTBEAT_STALE - Static variable in class com.ibm.websphere.samples.asynchbeans.wstrader.Config
 
subsystemIsDead(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
subsystemIsDead(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
This gets called when the SSM associated with the price generator detects the price generator has failed or been stopped.
subsystemIsFresh(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
subsystemIsFresh(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
This is called when the SSM associated with the price generator detects the price generator has done a lazerus and recovered from a failure.
subsystemIsStale(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
subsystemIsStale(SubsystemMonitor) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
This is called when the SSM associated with the price generator detects that the price generator may fail.
success - Variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.LoginInfo
 
symbols - Variable in class com.ibm.websphere.samples.asynchbeans.wstrader.applet.LoginInfo
 

T

tickerStopped(TickerSubscriber) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
 
tickerStopped(TickerSubscriber) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerUpdateEvents
The ticker listener has stopped.
TickerStreamBootstrapBean - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb
This is a startup bean that starts and stops the Ticker Streamer application when the server starts.
TickerStreamBootstrapBean() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.ejb.TickerStreamBootstrapBean
 
TickerSubscriber - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
This is a Work that is used to dynamically subscribe to a Topic and notify listeners that are colocated in this JVM whenever a message is received on that topic.
TickerSubscriber(StreamApplicationState, WorkManager, TopicConnectionFactory, Topic, String) - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
This creates a new TickerSubscriber.
tickerUpdated(TickerSubscriber, Message) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
This is called whenever a new message is received for a ticker that we're interested in.
tickerUpdated(TickerSubscriber, Message) - Method in interface com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerUpdateEvents
A ticker symbol has been updated.
TickerUpdateEvents - Interface in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
These are events which can be fired by the Ticker Subscriber
TickStreamConfig - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream
Various configuration information and constants for the application.
TickStreamConfig() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickStreamConfig
 
toString() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.ClientInstruction
 
toString() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 

U

unexpectedException(EventSource, Object, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamApplicationState
 
unexpectedException(EventSource, Object, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
 
unexpectedException(EventSource, Object, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
 
unexpectedException(EventSource, Object, Throwable) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.TickerSubscriber
 
unregisterStreamer(StreamListener) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamClientState
Unregister a streamer from the client state.
unsetEntityContext() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.RawTickerConfigBean
unsetEntityContext
UpdateServlet - Class in com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
Servlet used to update a current streamer's ticker symbols.
UpdateServlet() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.UpdateServlet
Constructor for TickerStreamerServlet.
updateTickers(String, boolean) - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
This takes a new list of tickers to subscribe to.
URLSenderHandler - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
Sends information to our various Ticker Streamer servlets by queuing all requests to run on a single thread.
Utility - Class in com.ibm.websphere.samples.asynchbeans.wstrader.applet
Various utility methods for the WebSphere Trader Applet client.
Utility() - Constructor for class com.ibm.websphere.samples.asynchbeans.wstrader.applet.Utility
 

W

wakeServlet() - Method in class com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.StreamListener
Wakes all all routines waking on the PrintWriter.

A B C D E F G H I L M N O P R S T U W