net.sourceforge.fixagora.basis.shared.model.communication
Class SolverResponse

java.lang.Object
  extended by net.sourceforge.fixagora.basis.shared.model.communication.AbstractResponse
      extended by net.sourceforge.fixagora.basis.shared.model.communication.AbstractBasisResponse
          extended by net.sourceforge.fixagora.basis.shared.model.communication.SolverResponse
All Implemented Interfaces:
java.io.Serializable

public class SolverResponse
extends AbstractBasisResponse

The Class SolverResponse.

See Also:
Serialized Form

Constructor Summary
SolverResponse(SolverRequest solverRequest, boolean solved)
          Instantiates a new solver response.
SolverResponse(SolverRequest solverRequest, double value)
          Instantiates a new solver response.
 
Method Summary
 java.lang.Double getValue()
          Gets the value.
 void handleAbstractFBasisResponse(BasisResponses fBasisResponses)
          Handle abstract f basis response.
 boolean isSolved()
          Checks if is solved.
 
Methods inherited from class net.sourceforge.fixagora.basis.shared.model.communication.AbstractBasisResponse
handleAbstractResponse
 
Methods inherited from class net.sourceforge.fixagora.basis.shared.model.communication.AbstractResponse
getRequestID, getTimestamp, setTimestamp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolverResponse

public SolverResponse(SolverRequest solverRequest,
                      boolean solved)
Instantiates a new solver response.

Parameters:
solverRequest - the solver request
solved - the solved

SolverResponse

public SolverResponse(SolverRequest solverRequest,
                      double value)
Instantiates a new solver response.

Parameters:
solverRequest - the solver request
value - the value
Method Detail

getValue

public java.lang.Double getValue()
Gets the value.

Returns:
the value

isSolved

public boolean isSolved()
Checks if is solved.

Returns:
true, if is solved

handleAbstractFBasisResponse

public void handleAbstractFBasisResponse(BasisResponses fBasisResponses)
Description copied from class: AbstractBasisResponse
Handle abstract f basis response.

Specified by:
handleAbstractFBasisResponse in class AbstractBasisResponse
Parameters:
fBasisResponses - the f basis responses