public interface UnrecoverableErrorInterface
There is no possibility to recover from these errors at this level. The interface simply provides a way to determine what response to the errors will be provided.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
Modifier and Type | Method and Description |
---|---|
default boolean |
invalidDataFormat(java.lang.Object source,
SecsMsg msg)
This method is called if the system detects an invalid data format.
|
default boolean |
invalidDeviceId(ConnectionManager source,
byte[] msg)
This method is called when a message is received on an invalid device ID.
|
default boolean |
invalidStreamOrFunction(java.lang.Object source,
SecsMsg msg)
This method is called when a message is not understood.
|
default boolean |
messageTimeout(SecsMsg msg)
This method is called on a T3 timeout.
|
static final java.lang.String cvsRev
default boolean invalidDataFormat(java.lang.Object source, SecsMsg msg)
source
- the message - this will be incompletely initializedmsg
- the message - this will be incompletely initializeddefault boolean invalidDeviceId(ConnectionManager source, byte[] msg)
source
- the connection manager that detected this errormsg
- the incoming message that has the invalid idHSMSConnectionManager
,
SecsIConnectionManager
default boolean invalidStreamOrFunction(java.lang.Object source, SecsMsg msg)
source
- the object that detected the problemmsg
- the unhandlable errordefault boolean messageTimeout(SecsMsg msg)
msg
- the message that has timed outCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.