|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.javaparts.dde.DDEEvent
com.javaparts.dde.AsyncCompletedEvent
This event is fired when asynchronouse transaction is completed.
requestAsync,
pokeAsync,
executeAsync,
Serialized Form| Field Summary |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
AsyncCompletedEvent(Conversation conv,
java.lang.String tid)
Create new instance of the Event |
|
AsyncCompletedEvent(Conversation conv,
java.lang.String tid,
boolean status)
Create new instance of the Event. |
|
| Method Summary | |
java.lang.String |
getTransactionId()
String identifier associated with this asynchronous transaction. |
byte[] |
getTransactionResult()
Result of the asynchronous transaction, if applicable. |
boolean |
isDataAvailable()
Whether data is available as a result of this transaction. |
boolean |
isSuccessful()
Whether the transaction was successful. |
protected void |
setSuccess(boolean flag)
|
protected void |
setTransactionResult(byte[] result)
|
| Methods inherited from class com.javaparts.dde.DDEEvent |
getConversation |
| 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 AsyncCompletedEvent(Conversation conv,
java.lang.String tid,
boolean status)
conv - conversation object that initiated this asynchronous transactiontid - asynchronous transaction identifierstatus - transaction status (true == success)
public AsyncCompletedEvent(Conversation conv,
java.lang.String tid)
conv - conversation object that initiated this asynchronous transactiontid - asynchronous transaction identifier| Method Detail |
public java.lang.String getTransactionId()
Conversation.executeAsync(String, String),
Conversation.requestAsync(String, String),
Conversation.pokeAsync(String, byte[], String)public byte[] getTransactionResult()
isDataAvailable()protected void setTransactionResult(byte[] result)
public boolean isSuccessful()
protected void setSuccess(boolean flag)
public boolean isDataAvailable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||