Interface MCMPResponseParser

All Known Implementing Classes:
DefaultMCMPResponseParser

public interface MCMPResponseParser
Author:
Paul Ferraro
  • Method Details

    • parseInfoResponse

      Map<String,Set<ResetRequestSource.VirtualHost>> parseInfoResponse(String response)
      Parses the response from a INFO request.
      Parameters:
      response - an INFO-RSP
      Returns:
      a map of virtual hosts per jvm route.
    • parsePingResponse

      boolean parsePingResponse(String response)
      Parses the response from a PING request.
      Parameters:
      response - a PING-RSP.
      Returns:
      true, if the ping was successful, false otherwise.
    • parseStopAppResponse

      int parseStopAppResponse(String response)
      Parses the response from a STOP-APP request.
      Parameters:
      response - a STOP-APP-RSP
      Returns:
      the number of current requests