public class RequestStreamImpl extends StreamBase<RequestStream> implements RequestStream
doOnError, doOnProgress| 构造器和说明 |
|---|
RequestStreamImpl(String sid,
long timeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
Reply |
await()
异步等待获取答复
|
boolean |
isDone()
是否完成的
|
void |
onError(Throwable error)
出错时
|
void |
onReply(MessageInternal reply)
答复时
|
RequestStream |
thenReply(IoConsumer<Reply> onReply)
答复发生时
|
demands, insuranceCancel, insuranceStart, onProgress, sid, thenError, thenProgress, timeout, timeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsid, thenError, thenProgresspublic RequestStreamImpl(String sid, long timeout)
public boolean isDone()
isDone 在接口中 Stream<RequestStream>public void onError(Throwable error)
onError 在接口中 StreamInternal<RequestStream>onError 在类中 StreamBase<RequestStream>error - 异常public void onReply(MessageInternal reply)
onReply 在接口中 StreamInternal<RequestStream>reply - 答复public Reply await()
RequestStreamawait 在接口中 RequestStreampublic RequestStream thenReply(IoConsumer<Reply> onReply)
RequestStreamthenReply 在接口中 RequestStreamCopyright © 2024. All rights reserved.