public abstract class DmrCallback extends Object implements com.google.gwt.user.client.rpc.AsyncCallback<DMRResponse>
| Constructor and Description |
|---|
DmrCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDmrFailure(ModelNode operation,
ModelNode response)
Be default, just log a failed DMR operation to the console.
|
abstract void |
onDmrSuccess(ModelNode response)
Handle a successful DMR operation.
|
void |
onFailure(Throwable caught) |
void |
onSuccess(DMRResponse result) |
public void onFailure(Throwable caught)
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<DMRResponse>public void onSuccess(DMRResponse result)
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback<DMRResponse>public void onDmrFailure(ModelNode operation, ModelNode response)
response - The full response as a ModelNode.public abstract void onDmrSuccess(ModelNode response)
response - The full response as a ModelNode.Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.