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