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, SvcOpts} | false | {error, no_service}

  • SvcName = service_name() (see module diameter)
  • AppOrAlias = #diameter_app{} | {alias, app_alias() (see module diameter)}
  • Opts = {(Dict::module()) -> [term()], peer_filter() (see module diameter), Xtra::list()}
  • TPid = pid()
  • Caps = #diameter_caps{}
  • App = #diameter_app{}
  • Mask = sequence() (see module diameter)
  • SvcOpts = [service_opt() (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()