All Examples This Package
Class examples.event.stocks.EvaluateStocks
java.lang.Object
|
+----examples.event.stocks.EvaluateStocks
- public class EvaluateStocks
- extends Object
- implements EvaluateDef
This class defines an Evaluate method which returns true for
events where the value for a stock ticker symbol matches
a particular "trigger" value. It is used by the Register
class in this directory.
- Author:
- Copyright (c) 1996-98 by WebLogic, Inc. All Rights Reserved.
- Copyright (c) 1999 by BEA Systems. All Rights Reserved.
-
EvaluateStocks()
-
-
evaluate(EventMessageDef)
-
-
registerInit(ParamSet)
-
-
setServices(T3ServicesDef)
-
EvaluateStocks
public EvaluateStocks()
setServices
public void setServices(T3ServicesDef services)
- Sets the services object.
registerInit
public void registerInit(ParamSet params) throws ParamSetException
- Gets the registration parameters used to evaluate events.
evaluate
public boolean evaluate(EventMessageDef ev) throws ParamSetException
- Evaluates each matching SYMBOL event and compares the
requested bid with the submitted bid.
All Examples This Package