Class ClientOperations
java.lang.Object
com.mulesoft.connectors.a2a.internal.client.operation.ClientOperations
@Throws({BasicOperationErrorTypeProvider.class,JsonRpcErrorTypeProvider.class})
public class ClientOperations
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelTask(A2AClient client, InputStream taskId, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) voiddeletePushNotificationConfig(A2AClient client, InputStream getPushConfigParams, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) voidgetCard(A2AClient client, boolean useExtendedCard, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) voidgetPushNotificationConfig(A2AClient client, InputStream getPushConfigParams, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) voidgetTask(A2AClient client, InputStream taskQuery, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) voidlistPushNotificationConfigs(A2AClient client, InputStream getPushConfigParams, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) voidsendMessage(A2AClient client, InputStream message, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) voidsetPushNotificationConfig(A2AClient client, InputStream taskPushNotificationConfig, RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback)
-
Constructor Details
-
ClientOperations
public ClientOperations()
-
-
Method Details
-
getCard
@Throws({AgentCardErrorTypeProvider.class,BasicOperationErrorTypeProvider.class}) public void getCard(@Connection A2AClient client, @Optional(defaultValue="false") @DisplayName("Use Extended Card") @Summary("When true, fetches the authenticated extended agent card instead of the normal agent card") boolean useExtendedCard, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) -
sendMessage
public void sendMessage(@Connection A2AClient client, @Content InputStream message, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) -
getTask
public void getTask(@Connection A2AClient client, @Content InputStream taskQuery, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) -
cancelTask
public void cancelTask(@Connection A2AClient client, @Content InputStream taskId, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) -
listPushNotificationConfigs
@Throws({PushNotificationErrorTypeProvider.class,BasicOperationErrorTypeProvider.class,JsonRpcErrorTypeProvider.class}) public void listPushNotificationConfigs(@Connection A2AClient client, @Content InputStream getPushConfigParams, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) -
getPushNotificationConfig
@Throws({PushNotificationErrorTypeProvider.class,BasicOperationErrorTypeProvider.class,JsonRpcErrorTypeProvider.class}) public void getPushNotificationConfig(@Connection A2AClient client, @Content InputStream getPushConfigParams, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) -
deletePushNotificationConfig
@Throws({PushNotificationErrorTypeProvider.class,BasicOperationErrorTypeProvider.class,JsonRpcErrorTypeProvider.class}) public void deletePushNotificationConfig(@Connection A2AClient client, @Content InputStream getPushConfigParams, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback) -
setPushNotificationConfig
@Throws({PushNotificationErrorTypeProvider.class,BasicOperationErrorTypeProvider.class,JsonRpcErrorTypeProvider.class}) public void setPushNotificationConfig(@Connection A2AClient client, @Content InputStream taskPushNotificationConfig, @ParameterGroup(name="Request") RequestParameterGroup requestParameters, org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceContextManager, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, ResponseAttributes> completionCallback)
-