public class TransactionCallback extends Object implements IOAsyncTask
Constructor and Description |
---|
TransactionCallback() |
Modifier and Type | Method and Description |
---|---|
void |
countUp() |
void |
done()
Method for sync notifications.
|
IOAsyncTask |
getDelegateCompletion() |
int |
getErrorCode() |
String |
getErrorMessage() |
void |
onError(int errorCode,
String errorMessage)
Method for error notifications.
|
void |
setDelegateCompletion(IOAsyncTask delegateCompletion) |
void |
waitCompletion() |
public void countUp()
public void done()
AIOCallback
done
in interface AIOCallback
public void waitCompletion() throws InterruptedException
InterruptedException
public void onError(int errorCode, String errorMessage)
AIOCallback
onError
in interface AIOCallback
public IOAsyncTask getDelegateCompletion()
public void setDelegateCompletion(IOAsyncTask delegateCompletion)
delegateCompletion
- the delegateCompletion to setpublic String getErrorMessage()
public int getErrorCode()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.