This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
ApplicationInsights Channel Telemetry_Channel
Jakub Oleksy edited this page Dec 20, 2014
·
1 revision
Responsible for managing a queue of telemetry items to send and sending them.
- Class name: Telemetry_Channel
- Namespace: ApplicationInsights\Channel
private string $_endpointUrl
The endpoint URL to send data to.
- Visibility: private
private array $_queue
The queue of already serialized JSON objects to send.
- Visibility: private
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::__construct()(string $endpointUrl)
Initializes a new Telemetry_Channel.
- Visibility: public
- $endpointUrl string - <p>Optional. Allows caller to override which endpoint to send data to.</p>
string ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::getEndpointUrl()()
Returns the current URL this TelemetrySender will send to.
- Visibility: public
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::setEndpointUrl()(string $endpointUrl)
Sets the current URL this TelemetrySender will send to.
- Visibility: public
- $endpointUrl string
array ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::getQueue()()
Returns the current queue.
- Visibility: public
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::setQueue()(array $queue)
Sets the current queue.
- Visibility: public
- $queue array
string ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::getSerializedQueue()()
Summary of getSerializedQueue
- Visibility: public
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
- $data mixed - <p>The telemetry item to send.</p>
- $telemetryContext ApplicationInsights\Channel\ApplicationInsights\Telemetry_Context - <p>The context to use.</p>
mixed ApplicationInsights\Channel\Telemetry_Channel::\ApplicationInsights\Channel\Telemetry_Channel::send()()
Summary of send
- Visibility: public