Class TelnetTask.TelnetRead

  • Enclosing class:
    TelnetTask

    public class TelnetTask.TelnetRead
    extends TelnetTask.TelnetSubTask
    Reads the output from the connected server until the required string is found or we time out.
    • Constructor Detail

      • TelnetRead

        public TelnetRead()
    • Method Detail

      • setTimeout

        public void setTimeout​(java.lang.Integer i)
        a timeout value that overrides any task wide timeout.
        Parameters:
        i - an Integer value
      • setDefaultTimeout

        public void setDefaultTimeout​(java.lang.Integer defaultTimeout)
        Sets the default timeout if none has been set already
        Parameters:
        defaultTimeout - an Integer value