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>


构造方法摘要
Sample.SendAsyncCallback(Sample.ProduceTask task)
           
 
方法摘要
 void onFail(Exception ex)
          Async callback handler at failed return.
 void onSuccess(Message result)
          Async callback handler at successfully return.
 
从类 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.