Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-higgins committed Nov 15, 2024
1 parent a66368f commit db35370
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.fluxtion.example.cookbook.nodecallback;

import com.fluxtion.compiler.Fluxtion;
import com.fluxtion.runtime.callback.CallBackNode;

import java.util.List;

Expand All @@ -26,7 +27,7 @@
* Each {@link CandidateVoteHandler} handles the same type of generic arguments, if these were passed to the containing
* event processor to handle all the CandidateVoteHandlers would be triggered. Using the {@link com.fluxtion.runtime.callback.CallBackNode}
* as a base class allows the CandidateVoteHandler's to receive normal function calls and then trigger a processing cycle,
* by calling {@link com.fluxtion.runtime.callback.CallBackNode#triggerGraphCycle()}
* by calling {@link CallBackNode#fireCallback()} ()}
*/
public class Main {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* <p>
* The MarketDataSubscriberNode implements listener interface, MarketDataSubscriber, and receives the market
* data update callbacks directly and not via the parent event processor. The node decides whether to trigger dependent
* nodes by calling triggerGraphCycle from the super class {@link CallBackNode}, in this case MidLoggerNode
* nodes by calling CallBackNode#fireCallback from the super class {@link CallBackNode}, in this case MidLoggerNode
*
*
* <pre>
Expand Down Expand Up @@ -90,7 +90,7 @@ public interface MarketDataSubscriber {
//The node in the graph that is a MarketDataSubscriber.
//DOES NOT EXPORT SERVICE MarketDataSubscriber.
//Receives updates from MarketDataPublisher directly into this instance bypassing the event processor dispatch
//Extend the CallBackNode and call triggerGraphCycle to trigger the event processor with this node as the root dirty node
//Extend the CallBackNode and call CallBackNode#fireCallback to trigger the event processor with this node as the root dirty node
public static class MarketDataSubscriberNode
extends CallBackNode
implements
Expand All @@ -106,7 +106,7 @@ public void marketDataPublisher(MarketDataPublisher marketDataPublisher) {
marketDataPublisher.subscribe("AAA", this);
}

//MarketDataPublisher service directly invokes callback method, this node can call triggerGraphCycle
//MarketDataPublisher service directly invokes callback method, this node can call CallBackNode#fireCallback
//to start a graph cycle and trigger any dependent nodes such as the MidLoggerNode
@Override
public boolean marketUpdate(String symbol, double mid) {
Expand Down

0 comments on commit db35370

Please sign in to comment.