org.bluez.NetworkServer1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluez-dbus-osgi Show documentation
Show all versions of bluez-dbus-osgi Show documentation
Java native bluetooth library which uses bluez via dbus (linux only).
This is the OSGi compliant bundle of all required libraries in one bundle.
package org.bluez;
import org.freedesktop.dbus.interfaces.DBusInterface;
/**
* File generated - 2020-06-18.
* Based on bluez Documentation: network-api.txt.
*
* Service: org.bluez
* Interface: org.bluez.NetworkServer1
*
* Object path:
* /org/bluez/{hci0,hci1,...}
*
*/
public interface NetworkServer1 extends DBusInterface {
/**
* From bluez documentation:
*
* Register server for the provided UUID. Every new
* connection to this server will be added the bridge
* interface.
*
* Valid UUIDs are "gn", "panu" or "nap".
*
* Initially no network server SDP is provided. Only
* after this method a SDP record will be available
* and the BNEP server will be ready for incoming
* connections.
*
*
* @param _uuid uuid
* @param _bridge bridge
*/
void Register(String _uuid, String _bridge);
/**
* From bluez documentation:
*
* Unregister the server for provided UUID.
*
* All servers will be automatically unregistered when
* the calling application terminates.
*
* @param _uuid uuid
*/
void Unregister(String _uuid);
}