Package io.a2a.server.tasks
Class BasePushNotificationSender
java.lang.Object
io.a2a.server.tasks.BasePushNotificationSender
- All Implemented Interfaces:
PushNotificationSender
@ApplicationScoped
public class BasePushNotificationSender
extends Object
implements PushNotificationSender
-
Constructor Summary
ConstructorsConstructorDescriptionBasePushNotificationSender(PushNotificationConfigStore configStore) BasePushNotificationSender(PushNotificationConfigStore configStore, A2AHttpClient httpClient) -
Method Summary
Modifier and TypeMethodDescriptionvoidsendNotification(Task task) Sends a push notification containing the latest task state.
-
Constructor Details
-
BasePushNotificationSender
-
BasePushNotificationSender
public BasePushNotificationSender(PushNotificationConfigStore configStore, A2AHttpClient httpClient)
-
-
Method Details
-
sendNotification
Description copied from interface:PushNotificationSenderSends a push notification containing the latest task state.- Specified by:
sendNotificationin interfacePushNotificationSender- Parameters:
task- the task
-