org.eclipse.ohf.wado.client
Interface WADORequestProcessor

All Known Implementing Classes:
WADORequestProcessorImpl

public interface WADORequestProcessor


Method Summary
 WADOResponse processRequest(WADORequest request)
          The method will use the parameters in the WADORequest object to send a WADO request to the WADO server.
 void setWADOServerAddress(java.lang.String wadoServerHost)
          Sets the host address of the WADO server.
 void setWADOServerAddress(java.lang.String wadoServerHost, java.lang.String wadoServerPort)
          Sets the host address and port number of the WADO server.
 

Method Detail

processRequest

WADOResponse processRequest(WADORequest request)
                            throws RequestParametersValidationException,
                                   WADOServerNotFoundException
The method will use the parameters in the WADORequest object to send a WADO request to the WADO server. It will first make sure all parameters in the request are valid and then will send the request to the server. The response retrieved from the WADO server will be encapsulated in a WADOResponse object and will be returned to the called of this method.

Parameters:
request - The WADORequst object with the parameters for the WADO request
Returns:
The response from the WADO server in a WADOResponse object
Throws:
WADOException - The method will throw validation exception if parameters are not valid or other exceptions if the interaction with the WADO server failed.
RequestParametersValidationException
WADOServerNotFoundException

setWADOServerAddress

void setWADOServerAddress(java.lang.String wadoServerHost)
Sets the host address of the WADO server.

Parameters:
wadoServerUrl - The host address of the WADO server

setWADOServerAddress

void setWADOServerAddress(java.lang.String wadoServerHost,
                          java.lang.String wadoServerPort)
Sets the host address and port number of the WADO server.

Parameters:
wadoServerHost - The host address of the WADO server
wadoServerPort - The port number of the WADO server