Страница:
ApplicationInsights Channel Telemetry_Channel
Страницы
ApiIndex
ApplicationInsights Channel Contracts Application
ApplicationInsights Channel Contracts Data
ApplicationInsights Channel Contracts Data_Point
ApplicationInsights Channel Contracts Data_Point_Type
ApplicationInsights Channel Contracts Device
ApplicationInsights Channel Contracts Envelope
ApplicationInsights Channel Contracts Event_Data
ApplicationInsights Channel Contracts Internal
ApplicationInsights Channel Contracts Location
ApplicationInsights Channel Contracts Message_Data
ApplicationInsights Channel Contracts Metric_Data
ApplicationInsights Channel Contracts Operation
ApplicationInsights Channel Contracts Page_View_Data
ApplicationInsights Channel Contracts Request_Data
ApplicationInsights Channel Contracts Session
ApplicationInsights Channel Contracts User
ApplicationInsights Channel Contracts Utils
ApplicationInsights Channel Telemetry_Channel
ApplicationInsights Telemetry_Client
ApplicationInsights Telemetry_Context
Home
1
ApplicationInsights Channel Telemetry_Channel
Jakub Oleksy редактировал(а) эту страницу 2014-12-19 18:00:13 -08:00
Содержание
- ApplicationInsights\Channel\Telemetry_Channel
- Properties
- Methods
- \ApplicationInsights\Channel\Telemetry_Channel::__construct()
- \ApplicationInsights\Channel\Telemetry_Channel::getEndpointUrl()
- \ApplicationInsights\Channel\Telemetry_Channel::setEndpointUrl()
- \ApplicationInsights\Channel\Telemetry_Channel::getQueue()
- \ApplicationInsights\Channel\Telemetry_Channel::setQueue()
- \ApplicationInsights\Channel\Telemetry_Channel::getSerializedQueue()
- \ApplicationInsights\Channel\Telemetry_Channel::addToQueue()
- \ApplicationInsights\Channel\Telemetry_Channel::send()
ApplicationInsights\Channel\Telemetry_Channel
Responsible for managing a queue of telemetry items to send and sending them.
- Class name: Telemetry_Channel
- Namespace: ApplicationInsights\Channel
Properties
$_endpointUrl
private string $_endpointUrl
The endpoint URL to send data to.
- Visibility: private
$_queue
private array $_queue
The queue of already serialized JSON objects to send.
- Visibility: private
Methods
\ApplicationInsights\Channel\Telemetry_Channel::__construct()
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::__construct()(string $endpointUrl)
Initializes a new Telemetry_Channel.
- Visibility: public
Arguments
- $endpointUrl string - <p>Optional. Allows caller to override which endpoint to send data to.</p>
\ApplicationInsights\Channel\Telemetry_Channel::getEndpointUrl()
string ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::getEndpointUrl()()
Returns the current URL this TelemetrySender will send to.
- Visibility: public
\ApplicationInsights\Channel\Telemetry_Channel::setEndpointUrl()
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::setEndpointUrl()(string $endpointUrl)
Sets the current URL this TelemetrySender will send to.
- Visibility: public
Arguments
- $endpointUrl string
\ApplicationInsights\Channel\Telemetry_Channel::getQueue()
array ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::getQueue()()
Returns the current queue.
- Visibility: public
\ApplicationInsights\Channel\Telemetry_Channel::setQueue()
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::setQueue()(array $queue)
Sets the current queue.
- Visibility: public
Arguments
- $queue array
\ApplicationInsights\Channel\Telemetry_Channel::getSerializedQueue()
string ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::getSerializedQueue()()
Summary of getSerializedQueue
- Visibility: public
\ApplicationInsights\Channel\Telemetry_Channel::addToQueue()
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::addToQueue()(mixed $data, \ApplicationInsights\Channel\ApplicationInsights\Telemetry_Context $telemetryContext)
Writes the item into the sending queue for subsequent processing.
- Visibility: public
Arguments
- $data mixed - <p>The telemetry item to send.</p>
- $telemetryContext ApplicationInsights\Channel\ApplicationInsights\Telemetry_Context - <p>The context to use.</p>
\ApplicationInsights\Channel\Telemetry_Channel::send()
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::send()()
Summary of send
- Visibility: public