|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is the listener interface for SxPLC. You have to implement
this interface in your own application to be informed about changed values and
connection states of the SxPLC object.
| Method Summary | |
void |
connected(SxPLC sender)
Called when a connection to the PLC is established. |
void |
disconnected(SxPLC sender)
Called whenever a connection to the PLC is lost or dropped. |
void |
error(SxPLC sender,
ErrorInfo errorInfo)
Called whenever a error occurred. |
void |
valueChanged(SxPLC sender,
java.lang.String[] aliasNames)
Called whenever values has been changed. |
| Method Detail |
public void valueChanged(SxPLC sender,
java.lang.String[] aliasNames)
getValue() to get the changed values.
sender - Denotes the SxPLC object.aliasNames - Array of alias names with changed values since last read.
public void error(SxPLC sender,
ErrorInfo errorInfo)
sender - Denotes the SxPLC object.errorInfo - Specifies the error.public void connected(SxPLC sender)
sender - Denotes the SxPLC object.public void disconnected(SxPLC sender)
sender - Denotes the SxPLC object.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||