com.stackmob.sdk.callback
Class StackMobNoopCallback
java.lang.Object
com.stackmob.sdk.callback.StackMobRawCallback
com.stackmob.sdk.callback.StackMobCallback
com.stackmob.sdk.callback.StackMobNoopCallback
public class StackMobNoopCallback
- extends StackMobCallback
A callback that does absolutely nothing regardless of success or failure. Supply
this to StackMob calls when you don't care about the results
- See Also:
StackMobCallback
|
Method Summary |
void |
failure(StackMobException e)
override this method to handle errors |
void |
success(String responseBody)
override this method to handles cases where a call has succeeded. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackMobNoopCallback
public StackMobNoopCallback()
success
public void success(String responseBody)
- Description copied from class:
StackMobCallback
- override this method to handles cases where a call has succeeded.
- Specified by:
success in class StackMobCallback
- Parameters:
responseBody - the response string received from StackMob
failure
public void failure(StackMobException e)
- Description copied from class:
StackMobCallback
- override this method to handle errors
- Specified by:
failure in class StackMobCallback
- Parameters:
e - a representation of the error that occurred
Copyright © 2013 StackMob. All Rights Reserved.