PHP Class spec\LdapTools\Connection\LdapServerPoolSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$servers

Public Methods

Method 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 method

public getMatchers ( )

it_is_initializable() public method

public it_is_initializable ( )

it_should_adjust_the_port_if_it_changes_in_the_domain_config() public method

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 method

it_should_have_a_SELECT_ORDER_constant() public method

it_should_have_a_SELECT_RANDOM_constant() public method

it_should_have_order_as_the_default_selection_method() public method

it_should_lookup_servers_via_dns_if_no_servers_are_defined() public method

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 method

it_should_throw_an_error_when_calling_setting_an_invalid_selection_method() public method

it_should_throw_an_error_when_no_servers_are_returned_from_dns() public method

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 method

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 method

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 method

let() public method

public let ( )

Property Details

$servers protected_oe property

protected $servers