|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSnacCommand
AcctCommand
ConfirmAck
A command sent in response to an ConfirmAcctCmd.
ConfirmAcctCmd0x07, command 0x07| Field Summary | |
static int |
RESULT_ALREADY_CONFIRMED
A result code indicating that a confirmation email is not necessary because this screen name has already been confirmed. |
static int |
RESULT_SUCCESS
A result code indicating that the confirmation request succeeded and a confirmation email has been sent to this screenname's registered email address. |
static int |
RESULT_UNAVAILABLE
A result code indicating that confirmation is currently unavailable for some reason or other. |
| Fields inherited from class AcctCommand |
CMD_ACCT_MOD, CMD_CONFIRM, CMD_CONFIRM_ACK, CMD_INFO_REQ, CMD_INFO_RESP, CMD_MOD_ACK, FAMILY_ACCT, FAMILY_INFO |
| Fields inherited from class SnacCommand |
SNACFLAG_DEFAULT |
| Constructor Summary | |
|
ConfirmAck(int result)
Creates a new outgoing confirmation request response with the given result code and no error URL. |
|
ConfirmAck(int result,
java.lang.String errorURL)
Creates a new outgoing confirmation request error response with the given result code and error URL. |
protected |
ConfirmAck(SnacPacket packet)
Generates a confirmation request response from the given incoming SNAC packet. |
| Method Summary | |
java.lang.String |
getErrorUrl()
A URL describing any error that occurred. |
int |
getResult()
Returns this response's result code. |
java.lang.String |
toString()
|
void |
writeData(java.io.OutputStream out)
Writes this command's SNAC data block to the given stream. |
| Methods inherited from class SnacCommand |
getCommand, getFamily, getFlag1, getFlag2 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int RESULT_SUCCESS
public static final int RESULT_UNAVAILABLE
public static final int RESULT_ALREADY_CONFIRMED
| Constructor Detail |
protected ConfirmAck(SnacPacket packet)
packet - a confirmation request response SNAC packetpublic ConfirmAck(int result)
result - a result code
public ConfirmAck(int result,
java.lang.String errorURL)
result - this response's result code, like RESULT_SUCCESSerrorURL - a URL explaining an error that occurred| Method Detail |
public final int getResult()
RESULT_SUCCESS, RESULT_UNAVAILABLE, and RESULT_ALREADY_CONFIRMED.
public final java.lang.String getErrorUrl()
RESULT_SUCCESS.
public void writeData(java.io.OutputStream out)
throws java.io.IOException
SnacCommand
writeData in class SnacCommandout - the stream to which to write the SNAC data
java.io.IOException - if an I/O error occurspublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||