CommunicationListener.openAsync(CancellationToken cancellationToken) 方法

定义

This method causes the communication listener to be opened. Once the Open completes, the communication listener becomes usable - accepts and sends messages.

public CompletableFuture<String> openAsync(CancellationToken cancellationToken)

参数

cancellationToken
CancellationToken

CancellationToken object to indicate the cancellation status of the operation.

返回

CompletableFuture<String>

A CompletableFuture that represents outstanding operation. The result of the Task is the endpoint string.

适用于