Interface IResponseHandler


public interface IResponseHandler
Used to handle the response of asynchronous requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called if there was an I/O-error.
    void
    handleResponse(com.uc4.util.XMLDocument xml, ConnectionAttributes session)
    An implemenation of this class should call the handleResponse method of the corresponding request.
  • Method Details

    • handleResponse

      void handleResponse(com.uc4.util.XMLDocument xml, ConnectionAttributes session)
      An implemenation of this class should call the handleResponse method of the corresponding request.
      Parameters:
      xml - XML Document sent from the UC4 Server. Never null
      session - Session
    • handleIOException

      void handleIOException(IOException e)
      This method is called if there was an I/O-error.
      Parameters:
      e - Exception describing the error