Class CommunicationRelayAsyncClient
- java.lang.Object
-
- com.azure.communication.networktraversal.CommunicationRelayAsyncClient
-
public final class CommunicationRelayAsyncClient extends Object
Asynchronous client interface for Azure Communication Network Traversal operations
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mono<CommunicationRelayConfiguration>
getRelayConfiguration()
Gets a Relay Configuration.Mono<CommunicationRelayConfiguration>
getRelayConfiguration(com.azure.communication.common.CommunicationUserIdentifier communicationUser)
Gets a Relay Configuration for a CommunicationUserIdentifier.Mono<CommunicationRelayConfiguration>
getRelayConfiguration(com.azure.communication.common.CommunicationUserIdentifier communicationUser, RouteType routeType)
Gets a Relay Configuration for a CommunicationUserIdentifier given a RouteType.Mono<CommunicationRelayConfiguration>
getRelayConfiguration(RouteType routeType)
Gets a Relay Configuration given a RouteType.Mono<com.azure.core.http.rest.Response<CommunicationRelayConfiguration>>
getRelayConfigurationWithResponse()
Gets a Relay Configuration with response.
-
-
-
Method Detail
-
getRelayConfiguration
public Mono<CommunicationRelayConfiguration> getRelayConfiguration()
Gets a Relay Configuration.- Returns:
- The obtained Communication Relay Configuration.
-
getRelayConfiguration
public Mono<CommunicationRelayConfiguration> getRelayConfiguration(com.azure.communication.common.CommunicationUserIdentifier communicationUser)
Gets a Relay Configuration for a CommunicationUserIdentifier.- Parameters:
communicationUser
- The CommunicationUserIdentifier for whom to issue a token- Returns:
- The obtained Communication Relay Configuration.
-
getRelayConfiguration
public Mono<CommunicationRelayConfiguration> getRelayConfiguration(RouteType routeType)
Gets a Relay Configuration given a RouteType.- Parameters:
routeType
- The specified RouteType for the relay request- Returns:
- The obtained Communication Relay Configuration.
-
getRelayConfiguration
public Mono<CommunicationRelayConfiguration> getRelayConfiguration(com.azure.communication.common.CommunicationUserIdentifier communicationUser, RouteType routeType)
Gets a Relay Configuration for a CommunicationUserIdentifier given a RouteType.- Parameters:
communicationUser
- The CommunicationUserIdentifier for whom to issue a tokenrouteType
- The specified RouteType for the relay request- Returns:
- The obtained Communication Relay Configuration.
-
getRelayConfigurationWithResponse
public Mono<com.azure.core.http.rest.Response<CommunicationRelayConfiguration>> getRelayConfigurationWithResponse()
Gets a Relay Configuration with response.- Returns:
- The obtained Communication Relay Configuration.
-
-