|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.IdentifierCounter
This counter is used to add a unique identifier to outgoing messages, so that the message can be linked to an error message should one be reported by the server. The default value of the counter starts at 0, and is incremented by 1 for each new identifier that is created.
Method Summary | |
static java.lang.String |
getNewIdentifier()
return an identifier for use in creating a message. |
static void |
setValue(int newVal)
Set the value of the counter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String getNewIdentifier()
public static void setValue(int newVal)
newVal + 1
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |