Package org.smtlib
Class AbstractSolver.Pending
java.lang.Object
org.smtlib.AbstractSolver.Pending
- Enclosing class:
AbstractSolver
The response returned for a command sent by
AbstractSolver.sendPipelined(ICommand) whose actual
response has not yet been read; isReady() tells when it has (see
AbstractSolver.readPipelined(boolean)), and response() then gives it.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.smtlib.IResponse
IResponse.IAssertionsResponse, IResponse.IAssignmentResponse, IResponse.IAttributeList, IResponse.IError, IResponse.IFactory, IResponse.IPair<T1,T2>, IResponse.IProofResponse, IResponse.IUnsatAssumptionsResponse, IResponse.IUnsatCoreResponse, IResponse.IValueResponse -
Method Summary
Modifier and TypeMethodDescription<T> TThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }booleanisError()Returns true if the response is an error responsebooleanisOK()Returns true if the response is a SUCCESS responsebooleanisReady()response()The response read for the command, or null if not yet readtoString()
-
Method Details
-
isReady
public boolean isReady() -
response
The response read for the command, or null if not yet read -
isOK
public boolean isOK()Description copied from interface:IResponseReturns true if the response is a SUCCESS response -
isError
public boolean isError()Description copied from interface:IResponseReturns true if the response is an error response -
accept
Description copied from interface:INodeThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }- Specified by:
acceptin interfaceINode- Type Parameters:
T- the return type desired from the visit methods- Parameters:
v- the visitor class- Returns:
- the value returned by the visit method
- Throws:
IVisitor.VisitorException
-
toString
-