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