PHP Class spec\LdapTools\Connection\LdapServerPoolSpec

Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$servers

Méthodes publiques

Méthode Description
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 ( )

Method Details

getMatchers() public méthode

public getMatchers ( )

it_is_initializable() public méthode

public it_is_initializable ( )

it_should_adjust_the_port_if_it_changes_in_the_domain_config() public méthode

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() public méthode

it_should_have_a_SELECT_ORDER_constant() public méthode

it_should_have_a_SELECT_RANDOM_constant() public méthode

it_should_have_order_as_the_default_selection_method() public méthode

it_should_lookup_servers_via_dns_if_no_servers_are_defined() public méthode

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() public méthode

it_should_throw_an_error_when_calling_setting_an_invalid_selection_method() public méthode

it_should_throw_an_error_when_no_servers_are_returned_from_dns() public méthode

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 méthode

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 méthode

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() public méthode

let() public méthode

public let ( )

Property Details

$servers protected_oe property

protected $servers