1<?php 2 3/** 4 * This file is part of the FreeDSx LDAP package. 5 * 6 * (c) Chad Sikorra <Chad.Sikorra@gmail.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12namespace FreeDSx\Ldap\Protocol\ClientProtocolHandler; 13 14use FreeDSx\Ldap\Protocol\LdapMessageRequest; 15use FreeDSx\Ldap\Protocol\LdapMessageResponse; 16use FreeDSx\Ldap\Protocol\Queue\ClientQueue; 17 18/** 19 * Handles response specific protocol communication details. 20 * 21 * @internal 22 * @author Chad Sikorra <Chad.Sikorra@gmail.com> 23 */ 24interface ResponseHandlerInterface 25{ 26 /** 27 * Pass the message response to the handler specific to it. 28 */ 29 public function handleResponse(LdapMessageRequest $messageTo, LdapMessageResponse $messageFrom, ClientQueue $queue, array $options): ?LdapMessageResponse; 30} 31