diameter_service

Functions


start(SvcName) -> term()

start_link(SvcName) -> term()

stop(SvcName) -> term()

start_transport(SvcName, T) -> term()

stop_transport(SvcName, Refs) -> term()

info(SvcName, Item) -> term()

subscribe(SvcName) -> term()

unsubscribe(SvcName) -> term()

subscriptions(Pat) -> term()

subscriptions() -> term()

services(Pat) -> term()

services() -> term()

whois(SvcName) -> term()

pick_peer(SvcName, AppOrAlias, Opts) -> {{TPid, Caps, App}, Mask} | false | {error, term()}

  • SvcName = service_name() (see module diameter)
  • AppOrAlias = {alias, app_alias() (see module diameter)} | #diameter_app{}
  • Opts = tuple()
  • TPid = pid()
  • Caps = #diameter_caps{}
  • App = #diameter_app{}
  • Mask = sequence() (see module diameter)

find_incoming_app(PeerT, TPid, Id, Apps) -> {#diameter_app{}, #diameter_caps{}} | #diameter_caps{} | false

  • PeerT = tid() (see module ets)
  • TPid = pid()
  • Id = non_neg_integer()
  • Apps = [#diameter_app{}]

notify(SvcName, Msg) -> term()

state(Svc) -> term()

uptime(Svc) -> term()

call_module(Service, AppMod, Request) -> term()

init(X1) -> term()

handle_call(Req, From, S) -> term()

handle_cast(Req, S) -> term()

handle_info(T, State) -> term()

terminate(Reason, State) -> term()

code_change(FromVsn, State, Extra) -> term()