public class MappingRequest extends Object
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected boolean |
answerComplete |
protected Throwable |
answerException |
protected String |
identifyingString |
protected IMappingConnection |
mappingConnection |
protected String |
outputUserID |
protected String |
userID |
Constructor and Description |
---|
MappingRequest(IMappingConnection mappingConnection,
String identifyingString)
Construct the request, and record the question.
|
Modifier and Type | Method and Description |
---|---|
void |
completeRequest(String outputUserID,
Throwable answerException)
Note that the request is complete, and record the answers.
|
Throwable |
getAnswerException()
Get the answer exception
|
String |
getAnswerResponse()
Get the answer user
|
String |
getIdentifyingString()
Get the identifying string, to pass back to the user if there was a problem
|
IMappingConnection |
getMappingConnection()
Get the mapping connection.
|
String |
getUserID()
Get the user ID
|
void |
setUserID(String userID)
Set the user ID we'll be using
|
void |
waitForComplete()
Wait for an auth request to be complete.
|
public static final String _rcsid
protected String userID
protected final IMappingConnection mappingConnection
protected final String identifyingString
protected boolean answerComplete
protected String outputUserID
protected Throwable answerException
public MappingRequest(IMappingConnection mappingConnection, String identifyingString)
public void setUserID(String userID)
public String getUserID()
public IMappingConnection getMappingConnection()
public String getIdentifyingString()
public void waitForComplete() throws InterruptedException
InterruptedException
public void completeRequest(String outputUserID, Throwable answerException)
public String getAnswerResponse()
public Throwable getAnswerException()