public class PassThroughMessageHandler extends java.lang.Object implements SecsEventListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
Constructor and Description |
---|
PassThroughMessageHandler(WrapperInterface fromWrapper,
WrapperInterface toWrapper,
int sessionId)
This constructor creates the message handler with sufficient information to make the pass through.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processMessage(SecsTrigger imsg)
All messages will come through this method
|
void |
secsEvent(SecsEvent theEvent)
Catch the secs events.
|
public static final java.lang.String cvsRev
public PassThroughMessageHandler(WrapperInterface fromWrapper, WrapperInterface toWrapper, int sessionId)
fromWrapper
- the equipment wrappertoWrapper
- the host wrappersessionId
- the session ID, this is 0xFFFF for single sessionisPassive
- true if this is the listening connection (HSMS)public boolean processMessage(SecsTrigger imsg)
public void secsEvent(SecsEvent theEvent)
secsEvent
in interface SecsEventListener
theEvent
- the eventCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.