FileUploadNotificationReceiver.receiveAsync 方法

定义

重载

receiveAsync()

Async wrapper for receive() operation with default timeout

QoS for receiving file upload notifications is at least once

receiveAsync(long timeoutMs)

Async wrapper for receive() operation with specific timeout

QoS for receiving file upload notifications is at least once

receiveAsync()

Async wrapper for receive() operation with default timeout

QoS for receiving file upload notifications is at least once

public CompletableFuture<FileUploadNotification> receiveAsync()

返回

CompletableFuture<FileUploadNotification>

The future object for the requested operation

receiveAsync(long timeoutMs)

Async wrapper for receive() operation with specific timeout

QoS for receiving file upload notifications is at least once

public CompletableFuture<FileUploadNotification> receiveAsync(long timeoutMs)

参数

timeoutMs
long

返回

CompletableFuture<FileUploadNotification>

The future object for the requested operation

适用于