You are here

abstract class WSClientEndpoint in Web service client 7

Default parent class for service endpoints.

Hierarchy

Expanded class hierarchy of WSClientEndpoint

File

./wsclient.inc, line 213
Web service client - include file.

View source
abstract class WSClientEndpoint implements WSClientEndpointInterface {

  /**
   * @var WSClientServiceDescription
   */
  protected $service;
  protected $url;
  protected $client;
  public function __construct(WSClientServiceDescription $service) {
    $this->service = $service;
    $this->url = $service->url;
  }
  public function call($operation, $arguments) {
  }
  public function dataTypes() {
  }
  public function formAlter(&$form, &$form_state) {
  }
  public function clearCache() {
    unset($this->client);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
WSClientEndpoint::$client protected property 1
WSClientEndpoint::$service protected property
WSClientEndpoint::$url protected property
WSClientEndpoint::call public function Connect to the remote web service and call an operation. Overrides WSClientEndpointInterface::call 2
WSClientEndpoint::clearCache public function Clear any caches the endpoint maintains. Overrides WSClientEndpointInterface::clearCache
WSClientEndpoint::dataTypes public function An array of info about data types used by the provided events/actions being not entities. Overrides WSClientEndpointInterface::dataTypes
WSClientEndpoint::formAlter public function Allows altering the configuration form of web service definitions, such that the form can include endpoint type specific configuration settings. Overrides WSClientEndpointInterface::formAlter 1
WSClientEndpoint::__construct public function Overrides WSClientEndpointInterface::__construct 1