|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.openfin.desktop.Ack
public class Ack
A message that is delivered to an AckListener when an action has been processed by AppDesktop
AckListener,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
Ack(org.json.JSONObject object,
Object source)
Ack constructor |
|
| Method Summary | |
|---|---|
Object |
getData()
Returns the value of "data" from message as JObject |
org.json.JSONObject |
getJsonObject()
Returns the message as a JObject |
String |
getReason()
Return reason if Ack has error |
boolean |
isSuccessful()
Returns Returns true if message contains "success":"true" |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Ack(org.json.JSONObject object,
Object source)
object - Message being delivered to the listenersource - The message source| Method Detail |
|---|
public boolean isSuccessful()
public String getReason()
public org.json.JSONObject getJsonObject()
public Object getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||