Package org.jboss.modcluster.mcmp
Interface MCMPResponseParser
-
- All Known Implementing Classes:
DefaultMCMPResponseParser
public interface MCMPResponseParser
- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Set<ResetRequestSource.VirtualHost>>
parseInfoResponse(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 Detail
-
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
-
-