Interface ExpectHandler

All Known Implementing Classes:
ExpectPasswordHandler, ExpectStringHandler

public interface ExpectHandler
Basic Interface for all expect handlers. The handle is called every time when new output has been received from stdout or stderror of the process.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Expect expect, ExpectBuffer buffer)
    Handle new output of the process and be send a reply.