public final class SPAEventAck
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
MESSAGE
Descriptive message text for a failure acknowledgement.
|
boolean |
OK
Success/failure (==true/false) flag for this acknowledgement.
|
Constructor and Description |
---|
SPAEventAck()
Constructs a new success acknowledgment.
|
SPAEventAck(boolean ok)
Constructs a new acknowledgment with the given success/failure
flag and a
null descriptive text. |
SPAEventAck(boolean ok,
java.lang.String msg)
Constructs a new failure acknowledgment with the given
success/failure flag and message text.
|
SPAEventAck(java.lang.String msg)
Constructs a new failure acknowledgment with the given message text.
|
Modifier and Type | Method and Description |
---|---|
static SPAEventAck |
okAck()
Returns the OK event acknowledgement.
|
java.lang.String |
toString()
Returns a legible text representation of this acknowledgement.
|
public final boolean OK
public final java.lang.String MESSAGE
public SPAEventAck()
public SPAEventAck(boolean ok)
null
descriptive text.public SPAEventAck(java.lang.String msg)
public SPAEventAck(boolean ok, java.lang.String msg)
public java.lang.String toString()
toString
in class java.lang.Object
public static final SPAEventAck okAck()