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

io.snice.networking.examples.vplmn.UserManager Maven / Gradle / Ivy

package io.snice.networking.examples.vplmn;

import io.hektor.core.Hektor;
import io.snice.functional.Either;
import io.snice.networking.examples.vplmn.impl.DefaultUserManager;
import io.snice.networking.examples.vplmn.impl.InternalDeviceManager;

import java.util.concurrent.CompletionStage;

public interface UserManager {

    CompletionStage> addUser(String name, User.Profile profile);

    static UserManager of(final Hektor hektor, final DeviceManager deviceManager, final SimCardManager simCardManager) {
        return DefaultUserManager.of(hektor, (InternalDeviceManager) deviceManager, simCardManager);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy