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

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

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

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

import com.azure.communication.callautomation.models.events.CallAutomationEventBase;

/**
 * Container class to hold the call connection ID and the class of the event, used as a key for the ongoing event awaiters.
 */
public class OngoingEventAwaiterKey {
    private final String callConnectionId;
    private final Class clazz;

    public OngoingEventAwaiterKey(String callConnectionId, Class clazz) {
        this.clazz = clazz;
        this.callConnectionId = callConnectionId;
    }

    /**
     * Get the callConnectionId property: The call connection id.
     *
     * @return the callConnectionId value.
     */
    public String getCallConnectionId() {
        return callConnectionId;
    }

    /**
     * Get the clazz property: The class of the event.
     *
     * @return the clazz value.
     */
    public Class getClazz() {
        return clazz;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy