Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.94 KB

dbus_bus_reg.md

File metadata and controls

114 lines (61 loc) · 2.94 KB

Module dbus_bus_reg

Bus registry.

Copyright (c) 2006-2007 Mikael Magnusson, 2014-2016 Jean Parpaillon

Behaviours: gen_server.

Authors: Mikael Magnusson (mikma@users.sourceforge.net), Jean Parpaillon (jean.parpaillon@free.fr).

Function Index

cast/1
code_change/3
export_service/2
get_bus/1
handle_call/3
handle_cast/2
handle_info/2
init/1
release_bus/1
set_service_reg/1
start_link/0
terminate/2
unexport_service/2

Function Details

cast/1

cast(Dbus_message) -> any()

code_change/3

code_change(OldVsn, State, Extra) -> any()

export_service/2

export_service(Service, ServiceName) -> any()

get_bus/1


get_bus(Bus_id::#bus_id{}) -> {ok, pid()}

handle_call/3

handle_call(Request, From, State) -> any()

handle_cast/2

handle_cast(Dbus_message, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

release_bus/1


release_bus(Bus::pid()) -> ok | {error, not_registered}

set_service_reg/1

set_service_reg(ServiceReg) -> any()

start_link/0


start_link() -> {ok, pid()} | {error, term()} | ignore

terminate/2

terminate(Reason, State) -> any()

unexport_service/2

unexport_service(Service, ServiceName) -> any()