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

eu.hgross.blaubot.core.IUnidentifiedBlaubotDevice Maven / Gradle / Ivy

Go to download

An easy to use publish/subscribe middleware to create and communicate through dynamically created adhoc networks.

There is a newer version: 2.0.0-beta.2
Show newest version
package eu.hgross.blaubot.core;

/**
 * Interface for IBlaubotDevice implementations used in Beacons to signal the
 * EthernetExchangeTask to set the right uniqueDevice ID once a bi-directional
 * connection was established and the uniqueId can be exchanged.
 *
 * This construct is needed because some technologies used for beacons don't have
 * the possibility to correlate between discovery and succeeded connections - like
 * WifiP2p does and their connect() and notify() via BroadcastReceivers do.
 * For this purpose, an IBlaubotConnection can be created with a IUnidentifiedBlaubotDevice
 * flagged IBlaubotDevice-Implementation and the uniqueId will be injected during
 * the state exchange.
 */
public interface IUnidentifiedBlaubotDevice extends IBlaubotDevice {
    /**
     * Sets the formerly unknown unique device id, see class doc.
     * @param uniqueDeviceId the uniqueDeviceId to be set
     */
    public void setUniqueDeviceId(String uniqueDeviceId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy