com.aliyun.mns.client
接口 AsyncResult<T>
- 类型参数:
T - type of Result model
public interface AsyncResult<T>
asynchronous call result
getResult
T getResult()
- 返回:
- the result aysnc call return,
not null meaning async call successful,
wait result until call end.
getResult
T getResult(long timewait)
- 参数:
timewait - wait for result in 'timewait' milliseconds.
- 返回:
- as async call result.
isSuccess
boolean isSuccess()
- 返回:
- async call is successful(true) or not (false)
getException
Exception getException()
- 返回:
- async call exception
setTimewait
void setTimewait(long timewait)
- 参数:
timewait - wait for result in 'timewait' milliseconds.
Copyright © 2016. All Rights Reserved.