| Package | Description | 
|---|---|
| com.microsoft.azure.storage | 
 This package contains the storage service base classes. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
StorageEventMultiCaster<EVENT_TYPE extends BaseEvent,EVENT_LISTENER_TYPE extends StorageEvent<EVENT_TYPE>>
Represents a generic event multi-caster that allows event listeners to be dynamically added and removed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StorageEventMultiCaster<ErrorReceivingResponseEvent,StorageEvent<ErrorReceivingResponseEvent>> | 
OperationContext.getErrorReceivingResponseEventHandler()
Gets an event multi-caster that is triggered when a network error occurs before the HTTP response status and headers are received. 
 | 
static StorageEventMultiCaster<ErrorReceivingResponseEvent,StorageEvent<ErrorReceivingResponseEvent>> | 
OperationContext.getGlobalErrorReceivingResponseEventHandler()
Gets a global event multi-caster that is triggered when a network error occurs before the HTTP response status and headers are received. 
 | 
static StorageEventMultiCaster<RequestCompletedEvent,StorageEvent<RequestCompletedEvent>> | 
OperationContext.getGlobalRequestCompletedEventHandler()
Gets a global event multi-caster that is triggered when a request is completed. 
 | 
static StorageEventMultiCaster<ResponseReceivedEvent,StorageEvent<ResponseReceivedEvent>> | 
OperationContext.getGlobalResponseReceivedEventHandler()
Gets a global event multi-caster that is triggered when a response is received. 
 | 
static StorageEventMultiCaster<RetryingEvent,StorageEvent<RetryingEvent>> | 
OperationContext.getGlobalRetryingEventHandler()
Gets a global event multi-caster that is triggered when a request is retried. 
 | 
static StorageEventMultiCaster<SendingRequestEvent,StorageEvent<SendingRequestEvent>> | 
OperationContext.getGlobalSendingRequestEventHandler()
Gets a global event multi-caster that is triggered before sending a request. 
 | 
StorageEventMultiCaster<RequestCompletedEvent,StorageEvent<RequestCompletedEvent>> | 
OperationContext.getRequestCompletedEventHandler()
Gets an event multi-caster that is triggered when a request is completed. 
 | 
StorageEventMultiCaster<ResponseReceivedEvent,StorageEvent<ResponseReceivedEvent>> | 
OperationContext.getResponseReceivedEventHandler()
Gets an event multi-caster that is triggered when a response is received. 
 | 
StorageEventMultiCaster<RetryingEvent,StorageEvent<RetryingEvent>> | 
OperationContext.getRetryingEventHandler()
Gets an event multi-caster that is triggered when a request is retried. 
 | 
StorageEventMultiCaster<SendingRequestEvent,StorageEvent<SendingRequestEvent>> | 
OperationContext.getSendingRequestEventHandler()
Gets an event multi-caster that is triggered before sending a request. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
OperationContext.setErrorReceivingResponseEventHandler(StorageEventMultiCaster<ErrorReceivingResponseEvent,StorageEvent<ErrorReceivingResponseEvent>> errorReceivingResponseEventHandler)
Sets an event multi-caster that is triggered when a network error occurs before the HTTP response status and headers are received. 
 | 
static void | 
OperationContext.setGlobalErrorReceivingResponseEventHandler(StorageEventMultiCaster<ErrorReceivingResponseEvent,StorageEvent<ErrorReceivingResponseEvent>> globalErrorReceivingResponseEventHandler)
Sets a global event multi-caster that is triggered when a network error occurs before the HTTP response status and headers are received. 
 | 
static void | 
OperationContext.setGlobalRequestCompletedEventHandler(StorageEventMultiCaster<RequestCompletedEvent,StorageEvent<RequestCompletedEvent>> globalRequestCompletedEventHandler)
Sets a global event multi-caster that is triggered when a request is completed. 
 | 
static void | 
OperationContext.setGlobalResponseReceivedEventHandler(StorageEventMultiCaster<ResponseReceivedEvent,StorageEvent<ResponseReceivedEvent>> globalResponseReceivedEventHandler)
Sets a global event multi-caster that is triggered when a response is received. 
 | 
static void | 
OperationContext.setGlobalRetryingEventHandler(StorageEventMultiCaster<RetryingEvent,StorageEvent<RetryingEvent>> globalRetryingEventHandler)
Sets a global event multi-caster that is triggered when a request is retried. 
 | 
static void | 
OperationContext.setGlobalSendingRequestEventHandler(StorageEventMultiCaster<SendingRequestEvent,StorageEvent<SendingRequestEvent>> globalSendingRequestEventHandler)
Sets a global event multi-caster that is triggered before sending a request. 
 | 
void | 
OperationContext.setRequestCompletedEventHandler(StorageEventMultiCaster<RequestCompletedEvent,StorageEvent<RequestCompletedEvent>> requestCompletedEventHandler)
Sets an event multi-caster that is triggered when a request is completed. 
 | 
void | 
OperationContext.setResponseReceivedEventHandler(StorageEventMultiCaster<ResponseReceivedEvent,StorageEvent<ResponseReceivedEvent>> responseReceivedEventHandler)
Sets an event multi-caster that is triggered when a response is received. 
 | 
void | 
OperationContext.setRetryingEventHandler(StorageEventMultiCaster<RetryingEvent,StorageEvent<RetryingEvent>> retryingEventHandler)
Sets an event multi-caster that is triggered when a request is retried. 
 | 
void | 
OperationContext.setSendingRequestEventHandler(StorageEventMultiCaster<SendingRequestEvent,StorageEvent<SendingRequestEvent>> sendingRequestEventHandler)
Sets an event multi-caster that is triggered before sending a request. 
 | 
/** 
* Copyright Microsoft Corporation 
* 
* Licensed under the Apache License, Version 2.0 (the "License"); 
* you may not use this file except in compliance with the License. 
* You may obtain a copy of the License at 
* http://www.apache.org/licenses/LICENSE-2.0 
* 
* Unless required by applicable law or agreed to in writing, software 
* distributed under the License is distributed on an "AS IS" BASIS, 
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
* See the License for the specific language governing permissions and 
* limitations under the License. 
*/