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

com.sportradar.unifiedodds.sdk.oddsentities.EventMessage Maven / Gradle / Ivy

/*
 * Copyright (C) Sportradar AG. See LICENSE for full license governing this code
 */

package com.sportradar.unifiedodds.sdk.oddsentities;

import com.sportradar.unifiedodds.sdk.entities.SportEvent;

/**
 * Represents a {@link Message} associated with a sport event
 */
public interface EventMessage extends Message {
    /**
     * Returns the competition/match/race/outright this odds update is for
     *
     * @return the competition/match this odds update is for
     */
    T getEvent();

    /**
     * Returns the request id of the current message
     *
     * @return the request id of the current message
     */
    Long getRequestId();

    /**
     * Returns the raw message as received from the producer
     *
     * @return the raw message as received from the producer
     */
    byte[] getRawMessage();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy