Interface Channel<REQUEST,RESPONSE>

Type Parameters:
REQUEST - the generic type of the Request from the User.
RESPONSE - the generic type of the Response that will be generated based on the given Request.

public interface Channel<REQUEST,RESPONSE>
Provides a generic interface for implementing communication gateways to the Assistant.
Since:
0.1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Processes Request data involving the Assistant.
  • Method Details

    • processRequest

      RESPONSE processRequest(REQUEST request)
      Processes Request data involving the Assistant.
      Parameters:
      request - the Request object to be processed.
      Returns:
      the Response object generated after processing the Request.