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.


Constructor Index

 o EvaluateStocks()

Method Index

 o evaluate(EventMessageDef)
 o registerInit(ParamSet)
 o setServices(T3ServicesDef)

Constructors

 o EvaluateStocks
 public EvaluateStocks()

Methods

 o setServices
 public void setServices(T3ServicesDef services)
Sets the services object.
 o registerInit
 public void registerInit(ParamSet params) throws ParamSetException
Gets the registration parameters used to evaluate events.
 o 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