public class EventSpooler extends java.lang.Object implements SystemHandlerInterface, MessageResponseInterface
Modifier and Type | Field and Description |
---|---|
static double |
timeout
This defines how long we will wait for the primary to be processed and
a response returned.
|
cvsRev
cvsRev
Modifier and Type | Method and Description |
---|---|
void |
deSpool()
Despool the event messages one at a time and reset the primary message.
|
void |
destroy()
Destroy the despooler.
|
static EventSpooler |
existingEventSpooler(java.lang.String toolName)
Return an existing event despooler or null if none exists
|
static EventSpooler |
getEventSpooler(java.lang.String toolName)
Return an existing or new event spooler for the given equipment name.
|
boolean |
processMessage(SecsTrigger imsg)
Check all incoming messages for primaries that require a response.
|
boolean |
responseReceived(int status,
SecsMsg primary,
SecsMsg response)
The MsgResponseInterface.
|
boolean |
verifyMessage(SecsMsg msg)
This method will be called on ALL outgoing messages (for each system message handler).
|
public static double timeout
public void deSpool()
public void destroy()
public static EventSpooler existingEventSpooler(java.lang.String toolName)
toolName
- the name of the tool associated with this despoolerpublic static EventSpooler getEventSpooler(java.lang.String toolName)
public boolean processMessage(SecsTrigger imsg)
public boolean responseReceived(int status, SecsMsg primary, SecsMsg response)
responseReceived
in interface MessageResponseInterface
public boolean verifyMessage(SecsMsg msg) throws SecsException
SystemHandlerInterface
verifyMessage
in interface SystemHandlerInterface
SecsException
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.