Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Latest commit

 

History

History
64 lines (37 loc) · 1.62 KB

ecomponent_acl.md

File metadata and controls

64 lines (37 loc) · 1.62 KB

Module ecomponent_acl

Behaviours: gen_server.

Function Index

access_list_get/2check if is allowed for this JID send an IQ GET with this NameSpace.
access_list_set/2check if is allowed for this JID send an IQ SET with this NameSpace.
start_link/0Starts the ecomponent main server.
stop/0Stops the ecomponent main server.

Function Details

access_list_get/2


access_list_get(NS::atom(), Jid::jid()) -> boolean()

check if is allowed for this JID send an IQ GET with this NameSpace.

access_list_set/2


access_list_set(NS::atom(), Jid::jid()) -> boolean()

check if is allowed for this JID send an IQ SET with this NameSpace.

start_link/0


start_link() -> {ok, Pid::pid()} | {error, Reason::any()}

Starts the ecomponent main server.

stop/0


stop() -> ok

Stops the ecomponent main server.