azure-docs-sdk-java/docs-ref-autogen/com.azure.core.amqp.AmqpLin...

77 строки
4.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.amqp.AmqpLink"
fullName: "com.azure.core.amqp.AmqpLink"
name: "AmqpLink"
nameWithType: "AmqpLink"
summary: "Represents a unidirectional AMQP link."
syntax: "public interface **AmqpLink**</br> extends <a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/Disposable.html\">Disposable</a>, <xref href=\"com.azure.core.util.AsyncCloseable?alt=com.azure.core.util.AsyncCloseable&text=AsyncCloseable\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.azure.core.amqp.AmqpLink.closeAsync()"
fullName: "com.azure.core.amqp.AmqpLink.closeAsync()"
name: "closeAsync()"
nameWithType: "AmqpLink.closeAsync()"
summary: "Disposes of the AMQP link."
modifiers:
- "default"
syntax: "public default Mono<Void> closeAsync()"
desc: "Disposes of the AMQP link."
returns:
description: "A mono that completes when the link is disposed."
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.azure.core.amqp.AmqpLink.getEndpointStates()"
fullName: "com.azure.core.amqp.AmqpLink.getEndpointStates()"
name: "getEndpointStates()"
nameWithType: "AmqpLink.getEndpointStates()"
summary: "Gets the endpoint states for the AMQP link."
modifiers:
- "abstract"
syntax: "public abstract Flux<AmqpEndpointState> getEndpointStates()"
desc: "Gets the endpoint states for the AMQP link. <xref uid=\"com.azure.core.amqp.exception.AmqpException\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpExceptions\"></xref> that occur on the link are reported in the connection state. When the stream terminates, the link is closed."
returns:
description: "A stream of endpoint states for the AMQP link."
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Flux.html\">Flux</a>&lt;<xref href=\"com.azure.core.amqp.AmqpEndpointState?alt=com.azure.core.amqp.AmqpEndpointState&text=AmqpEndpointState\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.core.amqp.AmqpLink.getEntityPath()"
fullName: "com.azure.core.amqp.AmqpLink.getEntityPath()"
name: "getEntityPath()"
nameWithType: "AmqpLink.getEntityPath()"
summary: "The remote endpoint path this link is connected to."
modifiers:
- "abstract"
syntax: "public abstract String getEntityPath()"
desc: "The remote endpoint path this link is connected to."
returns:
description: "The remote endpoint path this link is connected to."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.amqp.AmqpLink.getHostname()"
fullName: "com.azure.core.amqp.AmqpLink.getHostname()"
name: "getHostname()"
nameWithType: "AmqpLink.getHostname()"
summary: "The host name of the message broker that this link that is connected to."
modifiers:
- "abstract"
syntax: "public abstract String getHostname()"
desc: "The host name of the message broker that this link that is connected to."
returns:
description: "The host name of the message broker that this link that is connected to."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.amqp.AmqpLink.getLinkName()"
fullName: "com.azure.core.amqp.AmqpLink.getLinkName()"
name: "getLinkName()"
nameWithType: "AmqpLink.getLinkName()"
summary: "Gets the name of the link."
modifiers:
- "abstract"
syntax: "public abstract String getLinkName()"
desc: "Gets the name of the link."
returns:
description: "The name of the link."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "interface"
desc: "Represents a unidirectional AMQP link."
implements:
- "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/Disposable.html\">Disposable</a>"
- "<xref href=\"com.azure.core.util.AsyncCloseable?alt=com.azure.core.util.AsyncCloseable&text=AsyncCloseable\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.azure.core.amqp"
artifact: com.azure:azure-core-amqp:2.9.11