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

com.sportradar.mts.sdk.api.impl.ConnectionChangeImpl Maven / Gradle / Ivy

package com.sportradar.mts.sdk.api.impl;

import com.sportradar.mts.sdk.api.interfaces.ConnectionChange;

public class ConnectionChangeImpl implements ConnectionChange {

    private boolean isConnected;
    private String message;

    public ConnectionChangeImpl(boolean isConnected, String message){
        this.isConnected = isConnected;
        this.message = message;
    }

    @Override
    public boolean isConnected() { return isConnected; }

    @Override
    public String getMessage() { return message; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy