PHP Класс spec\LdapTools\Connection\LdapServerPoolSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$servers

Открытые методы

Метод Описание
getMatchers ( )
it_is_initializable ( )
it_should_adjust_the_port_if_it_changes_in_the_domain_config ( TcpSocket $tcp )
it_should_change_the_selection_method_when_calling_setSelectionMethod ( )
it_should_have_a_SELECT_ORDER_constant ( )
it_should_have_a_SELECT_RANDOM_constant ( )
it_should_have_order_as_the_default_selection_method ( )
it_should_lookup_servers_via_dns_if_no_servers_are_defined ( TcpSocket $tcp, Dns $dns )
it_should_randomize_the_server_array_when_using_the_method_random ( )
it_should_throw_an_error_when_calling_setting_an_invalid_selection_method ( )
it_should_throw_an_error_when_no_servers_are_returned_from_dns ( TcpSocket $tcp, Dns $dns )
it_should_throw_an_exception_when_no_servers_are_available ( TcpSocket $tcp )
it_should_use_the_connect_timeout_value_from_the_config ( TcpSocket $tcp )
it_should_use_the_server_array_as_is_when_using_the_method_order ( )
let ( )

Описание методов

getMatchers() публичный Метод

public getMatchers ( )

it_is_initializable() публичный Метод

public it_is_initializable ( )

it_should_adjust_the_port_if_it_changes_in_the_domain_config() публичный Метод

public it_should_adjust_the_port_if_it_changes_in_the_domain_config ( TcpSocket $tcp )
$tcp LdapTools\Utilities\TcpSocket

it_should_change_the_selection_method_when_calling_setSelectionMethod() публичный Метод

it_should_have_a_SELECT_ORDER_constant() публичный Метод

it_should_have_a_SELECT_RANDOM_constant() публичный Метод

it_should_have_order_as_the_default_selection_method() публичный Метод

it_should_lookup_servers_via_dns_if_no_servers_are_defined() публичный Метод

public it_should_lookup_servers_via_dns_if_no_servers_are_defined ( TcpSocket $tcp, Dns $dns )
$tcp LdapTools\Utilities\TcpSocket
$dns LdapTools\Utilities\Dns

it_should_randomize_the_server_array_when_using_the_method_random() публичный Метод

it_should_throw_an_error_when_calling_setting_an_invalid_selection_method() публичный Метод

it_should_throw_an_error_when_no_servers_are_returned_from_dns() публичный Метод

public it_should_throw_an_error_when_no_servers_are_returned_from_dns ( TcpSocket $tcp, Dns $dns )
$tcp LdapTools\Utilities\TcpSocket
$dns LdapTools\Utilities\Dns

it_should_throw_an_exception_when_no_servers_are_available() публичный Метод

public it_should_throw_an_exception_when_no_servers_are_available ( TcpSocket $tcp )
$tcp LdapTools\Utilities\TcpSocket

it_should_use_the_connect_timeout_value_from_the_config() публичный Метод

public it_should_use_the_connect_timeout_value_from_the_config ( TcpSocket $tcp )
$tcp LdapTools\Utilities\TcpSocket

it_should_use_the_server_array_as_is_when_using_the_method_order() публичный Метод

let() публичный Метод

public let ( )

Описание свойств

$servers защищенное свойство

protected $servers