All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.communication.callautomation.implementation.eventprocessor.EventAwaiter Maven / Gradle / Ivy

Go to download

This package contains clients and data structures used to make call with Azure Communication Call Automation Service. For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/CHANGELOG.md.

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.communication.callautomation.implementation.eventprocessor;

/**
 * Abstract class for event awaiters.
 */
public abstract class EventAwaiter implements AutoCloseable {
    private boolean disposed = false;

    @Override
    public void close() {
        disposed = true;
    }

    public boolean isDisposed() {
        return disposed;
    }

    public abstract void onEventsReceived(EventWithBacklogId event);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy