Class Expectation

  • All Implemented Interfaces:
    Serializable

    public class Expectation
    extends Object
    implements Serializable
    An Expectation is used to tell the AsyncSipServlet that a particular SIP method, like CANCEL is expected. Use the 'expect' method on the Callflow class to create a lambda function to be invoked if/when that CANCEL arrives. Use the 'clear' method to stop expecting any more of those methods.
    See Also:
    Serialized Form