VMware vCloud Suite SDK Perl
The VMware vCloud Suite SDK for Perl supports the client-side vCloud Suite API for access to vCloud services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder Class Reference

Avaliable Methods

private method _validate ()
 
public method get_config ()
 
public method set_io_thread_count ()
 
public method set_library_type ()
 
public method new ()
 
public method set_so_timeout ()
 
public method set_ssl_configuration ()
 

Detailed Description

Inner class for building HttpConfiguration class

Member Function Documentation

private method Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder::_validate ( )

Validates whether IO thread count setting is supported for transport based on library [Private method]

Parameters
None
Return values
None
Code:
click to view
public method Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder::get_config ( )

Get HttpConfiguration object

Parameters
None
Return values
HttpConfigurationReturns object of HttpConfiguration class
Code:
click to view
public method Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder::new ( )

Constructor

Parameters
None
Return values
Blessed object
Code:
click to view
public method Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder::set_io_thread_count ( )

Defines the number of I/O dispatch threads to be used by the I/O reactor of the third-party HTTP library.

Parameters
io_thread_count_buildernumber of I/O threads Defaults to the count of the processors on the machine Must be larger than zero
Return values
BuilderReturns the current object of Builder class
Code:
click to view
public method Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder::set_library_type ( )

Sets the type of the HTTP library

Parameters
library_type_builderHTTP library flavor
Return values
BuilderReturns the current object of Builder class
Code:
click to view
public method Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder::set_so_timeout ( )

Sets the amount of time the client should wait for a response before timing out

Parameters
so_timeout_buildertime in milliseconds Zero timeout means wait forever Default is zero Must not be negative
Return values
BuilderReturns the current object of Builder class
Code:
click to view
public method Com::Vmware::Vapi::Protocol::HttpConfiguration::Builder::set_ssl_configuration ( )

Sets the SSL configuration

Parameters
ssl_config_builder
Return values
BuilderReturns the current object of Builder class
Code:
click to view

The documentation for this class was generated from the following file: