
eu.hgross.blaubot.core.IUnidentifiedBlaubotDevice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blaubot Show documentation
Show all versions of blaubot Show documentation
An easy to use publish/subscribe middleware to create and communicate through dynamically created adhoc networks.
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