/**
  * Creates a ServiceBusRestProxy with specified parameter. 
  * 
  * @param IHttpClient $channel        The channel to communicate. 
  * @param string      $uri            The URI of Service Bus service.
  * @param ISerializer $dataSerializer The serializer of the Service Bus.
  *
  * @return none
  */
 public function __construct($channel, $uri, $dataSerializer)
 {
     parent::__construct($channel, $uri, Resources::EMPTY_STRING, $dataSerializer);
 }
Пример #2
0
 /** 
  * Creates a WrapRestProxy with specified parameters. 
  * 
  * @param IHttpClient $channel The channel to send the WRAP request. 
  * @param string      $uri     The Uri of the WRAP service. 
  * 
  * @return none
  */
 public function __construct($channel, $uri)
 {
     parent::__construct($channel, $uri, Resources::EMPTY_STRING, null);
 }
Пример #3
0
 /**
  * Initializes new OAuthRestProxy object.
  *
  * @param IHttpClient $channel The HTTP client used to send HTTP requests.
  * @param string      $uri     The storage account uri.
  */
 public function __construct($channel, $uri)
 {
     parent::__construct($channel, $uri, Resources::EMPTY_STRING, new JsonSerializer());
 }
Пример #4
0
 /**
  * Initializes new TableRestProxy object.
  * 
  * @param IHttpClient       $channel        The HTTP client channel.
  * @param string            $uri            The storage account uri.
  * @param IAtomReaderWriter $atomSerializer The atom serializer.
  * @param IMimeReaderWriter $mimeSerializer The MIME serializer.
  * @param ISerializable     $dataSerializer The data serializer.
  */
 public function __construct($channel, $uri, $atomSerializer, $mimeSerializer, $dataSerializer)
 {
     parent::__construct($channel, $uri, Resources::EMPTY_STRING, $dataSerializer);
     $this->_atomSerializer = $atomSerializer;
     $this->_mimeSerializer = $mimeSerializer;
 }