Event Driven Design is the implementation of requirements through a queue of events that are triggered by user input. Callback functions only create event objects and add them to the queue so state remains unchanged.
Questions tagged [event-driven-design]
186 questions
0
votes
2 answers
EDA: "Cascading" Events or Explicit commands?
Scenario
Lets say I have three major components of a system:
UI - Collects input from the user and creates a LoginUserCommand that is sent over a message bus. The user interface then listens to this message bus for MessageReceivedEvent(s).
User…
![](../../users/profiles/20207.webp)
Codebrain
- 5,195
- 4
- 26
- 21
0
votes
1 answer
Spring Integration - Maximum Throughput Consumer
What configuration of Spring Integration elements, if any, would support the model of:
One message queue, representing incoming work
Multiple consumers reading from that queue (one message only needs to go to one
consumer)
Each consumer only polls…
![](../../users/profiles/774395.webp)
EngineerBetter_DJ
- 11,630
- 15
- 81
- 158
-1
votes
1 answer
How to iterate a queue during a telnet session?
Having adapted a Tcl script to Java, and using the expectit API, which implements a Java expect, I'm trying to de-clutter the usage below:
package expectit;
import java.util.logging.Logger;
import static…
![](../../users/profiles/262852.webp)
Thufir
- 7,241
- 18
- 103
- 236
-1
votes
1 answer
calling function pointer of a member function from a function pointer vector
i think this is mostly a syntax error ( though not captured during compilation, only at runtime does the error happen)
i am trying to develop an event driven architecture , where i keep a vector of eventReceiver and try to call them from the…
![](../../users/profiles/533631.webp)
Shrouk Khan
- 1,340
- 5
- 20
- 50
-2
votes
4 answers
TextField waiting for a user input
I got a JTextfield a GetText method, and an array to store the numbers logged on the Jtextfield.
JTextField tf1 = new JTextField();
frame.add(tf1);
String tfone = tf1.getText();
int one = Integer.parseInt(tfone);
int[][] array = new int[4][5];…
![](../../users/profiles/5705103.webp)
Volazh
- 128
- 2
- 11
-2
votes
1 answer
am trying to make c# event puzzle game on for an assignment
i got the picture box to move. But when i click down on the picture box it jumps all over the place. Can anyone help me with this at all?
namespace Move_Shapes
{
public partial class Form1 : Form
{
int X = 0;
int Y = 0;
…
![](../../users/profiles/3635818.webp)
user3635818
- 1
- 1