public class LinkTest extends java.lang.Object implements java.lang.Runnable, SecsEventListener
cvsRev| Constructor and Description |
|---|
LinkTest()
The constructor.
|
LinkTest(HSMSSessionManager hsmsSessionManager)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getSpacing()
Returns the current spacing between messages in seconds.
|
void |
run()
This will run until there is an error or the spacing is set to zero or less.
|
void |
secsEvent(SecsEvent theEvent)
This method will be called when a SecsEvent accurs.
|
void |
sendOnce()
Sends one link test message.
|
void |
setSpacing(double spacing)
Sets the spacing, this will also start the messages sending if necessary.
|
public LinkTest()
throws SecsException
SecsExceptionpublic LinkTest(HSMSSessionManager hsmsSessionManager)
public double getSpacing()
public void run()
run in interface java.lang.Runnablepublic void secsEvent(SecsEvent theEvent)
SecsEventListenersecsEvent in interface SecsEventListenerpublic void sendOnce()
throws SecsException
SecsExceptionpublic void setSpacing(double spacing)
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.