SkillConversationIdFactoryBase Clase

  • java.lang.Object
    • com.microsoft.bot.builder.skills.SkillConversationIdFactoryBase

public abstract class SkillConversationIdFactoryBase

Define la interfaz de un generador que se usa para crear identificadores de conversación únicos para conversaciones de aptitudes.

Resumen del constructor

Constructor Description
SkillConversationIdFactoryBase()

Resumen del método

Modificador y tipo Método y descripción
java.util.concurrent.CompletableFuture<java.lang.String> createSkillConversationId(SkillConversationIdFactoryOptions options)

Crea un identificador de conversación para una conversación de aptitud.

java.util.concurrent.CompletableFuture<java.lang.String> createSkillConversationId(ConversationReference conversationReference)

Crea un identificador de conversación para una conversación de aptitud super.

abstract java.util.concurrent.CompletableFuture<java.lang.Void> deleteConversationReference(String skillConversationId)

Elimina un ConversationReference .

java.util.concurrent.CompletableFuture<ConversationReference> getConversationReference(String skillConversationId)

Obtiene el ConversationReference creado con {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())} para una aptitudConversationId.

java.util.concurrent.CompletableFuture<SkillConversationReference> getSkillConversationReference(String skillConversationId)

Obtiene el SkillConversationReference usado durante {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken()} para una aptitudConversationId.

Métodos heredados de java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Detalles del constructor

SkillConversationIdFactoryBase

public SkillConversationIdFactoryBase()

Detalles del método

createSkillConversationId

public CompletableFuture createSkillConversationId(SkillConversationIdFactoryOptions options)

Crea un identificador de conversación para una conversación de aptitud.

Parámetros:

options - Instancia de SkillConversationIdFactoryOptions que contiene parámetros para crear el identificador de conversación.

Devoluciones:

Identificador de conversación único que se usa para comunicarse con la aptitud. Debe ser posible usar la cadena devuelta en una dirección URL de solicitud y no debe contener caracteres especiales.

createSkillConversationId

public CompletableFuture createSkillConversationId(ConversationReference conversationReference)

Crea un identificador de conversación para una conversación de aptitud super. en el ConversationReference del autor de la llamada.

Parámetros:

conversationReference - El autor de la llamada de la aptitud ConversationReference .

Devoluciones:

Identificador de conversación único que se usa para comunicarse con la aptitud. Debe ser posible usar la cadena devuelta en una dirección URL de solicitud y no debe contener caracteres especiales.

deleteConversationReference

public abstract CompletableFuture deleteConversationReference(String skillConversationId)

Elimina un ConversationReference .

Parámetros:

skillConversationId - Un conversationId de aptitud creado con {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} .

Devoluciones:

Un CompletableFuture que representa la operación asincrónica.

getConversationReference

public CompletableFuture getConversationReference(String skillConversationId)

Obtiene el ConversationReference creado con {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())} para un skillConversationId.

Parámetros:

skillConversationId - Un conversationId de aptitud creado con {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())} .

Devoluciones:

El ConversationReference del autor de la llamada para un skillConversationId. null si no se encuentra.

getSkillConversationReference

public CompletableFuture getSkillConversationReference(String skillConversationId)

Obtiene el SkillConversationReference usado durante {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} para un skillConversationId.

Parámetros:

skillConversationId - Un conversationId de aptitud creado con {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} .

Devoluciones:

El ConversationReference del autor de la llamada para un skillConversationId, con originingAudience. Null si no se encuentra.

Se aplica a