Package org.jboss.modcluster.mcmp
Interface MCMPResponseParser
- All Known Implementing Classes:
DefaultMCMPResponseParser
public interface MCMPResponseParser
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionparseInfoResponse
(String response) Parses the response from a INFO request.boolean
parsePingResponse
(String response) Parses the response from a PING request.int
parseStopAppResponse
(String response) Parses the response from a STOP-APP request.
-
Method Details
-
parseInfoResponse
Parses the response from a INFO request.- Parameters:
response
- an INFO-RSP- Returns:
- a map of virtual hosts per jvm route.
-
parsePingResponse
Parses the response from a PING request.- Parameters:
response
- a PING-RSP.- Returns:
- true, if the ping was successful, false otherwise.
-
parseStopAppResponse
Parses the response from a STOP-APP request.- Parameters:
response
- a STOP-APP-RSP- Returns:
- the number of current requests
-