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

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

The newest version!
package io.snice.networking.examples.vplmn;

import io.hektor.core.Hektor;
import io.snice.functional.Either;
import io.snice.networking.examples.gtp.GtpConfig;
import io.snice.networking.examples.vplmn.impl.DefaultDeviceManager;
import io.snice.networking.gtp.GtpControlTunnel;
import io.snice.networking.gtp.GtpEnvironment;

import java.util.concurrent.CompletionStage;

public interface DeviceManager {

    CompletionStage> createDevice(Device.Type type, SimCard simCard);

    static DeviceManager of(final Hektor hektor, final GtpEnvironment environment, final GtpControlTunnel tunnel) {
        return DefaultDeviceManager.of(hektor, environment, tunnel);
    }



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy