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 Show documentation
Show all versions of bluez-dbus Show documentation
Java native bluetooth library which uses bluez via dbus (linux only)
package org.bluez;
import org.freedesktop.dbus.interfaces.DBusInterface;
/**
* File generated - 2018-07-25.
* 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
* @param _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
*/
void Unregister(String _uuid);
}