Module manager_pool

The Manager-Pool manages all the socket connections to the Asterisk manager.

Copyright © 2005-2006 Ericsson

Version: 1.0

Behaviour: gen_server.

Authors: Freek Sanders (freekisanders@gmail.com) [web site: http://www.freeksanders.tk].

Description

The Manager-Pool manages all the socket connections to the Asterisk manager. The Manager-Pool gives the ability to dynamically get and release connections, and create new sockets when needed. For more information about the flow of events and an explanation of terms see ext_ast_interface.

Function Index

create_sockets/2
die/1
get_socket_pid/1
get_state/1
release_socket/2

Function Details

create_sockets/2

create_sockets(Pid, Amount) -> term()

die/1

die(Pid) -> term()

get_socket_pid/1

get_socket_pid(Pid) -> term()

get_state/1

get_state(Pid) -> term()

release_socket/2

release_socket(Pid, Id) -> term()