com.aliyun.mns.sample
类 Sample.SendAsyncCallback
java.lang.Object
com.aliyun.mns.sample.Sample.SendAsyncCallback
- 所有已实现的接口:
- AsyncCallback<Message>
- 包容类:
- Sample
protected class Sample.SendAsyncCallback
- extends Object
- implements AsyncCallback<Message>
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sample.SendAsyncCallback
public Sample.SendAsyncCallback(Sample.ProduceTask task)
onSuccess
public void onSuccess(Message result)
- 从接口
AsyncCallback 复制的描述
- Async callback handler at successfully return.
- 指定者:
- 接口
AsyncCallback<Message> 中的 onSuccess
onFail
public void onFail(Exception ex)
- 从接口
AsyncCallback 复制的描述
- Async callback handler at failed return.
- 指定者:
- 接口
AsyncCallback<Message> 中的 onFail
Copyright © 2016. All Rights Reserved.