public class WaitForHostSilence extends Command
Constructor and Description |
---|
WaitForHostSilence(int duration,
int timeout)
Constructs a new WaitForHostSilence command.
|
Modifier and Type | Method and Description |
---|---|
int |
getDuration()
Gets the duration.
|
java.lang.String |
getName()
Gets the command name.
|
int |
getTimeout()
Gets the timeout.
|
isValidEchoType
public WaitForHostSilence(int duration, int timeout)
duration
- the duration in seconds that the communication must
be silent before returningtimeout
- the maximum time to wait in seconds