Uses of Class
com.bloomberglp.blpapi.CorrelationID
-
Uses of CorrelationID in com.bloomberglp.blpapi
Modifier and TypeFieldDescriptionfinal CorrelationID
SubscriptionPreprocessError.correlationId
TheCorrelationID
of theSubscription
.Modifier and TypeMethodDescriptionabstract CorrelationID
Message.correlationID()
Return the correlationId associated with this message.abstract CorrelationID
Message.correlationID
(int index) Return the correlationId associated with this message at the specified indexSubscription.correlationID()
ResolutionList.correlationIdAt
(int index) TopicList.correlationIdAt
(int index) abstract CorrelationID
Message.correlationIDAt
(int index) Deprecated.AbstractSession.generateAuthorizedIdentity
(AuthOptions authOptions) Generates an authorizedIdentity
with an automatically generatedCorrelationID
.AbstractSession.generateToken()
Return a generated token to be used for authorization.AbstractSession.generateToken
(CorrelationID correlationId) Return a generated token to be used for authorization.AbstractSession.generateToken
(CorrelationID correlationId, EventQueue eventQueue) Return a generated token to be used for authorization.AbstractSession.generateToken
(String userId, String ipAddress, CorrelationID correlationId, EventQueue eventQueue) Return a generated token to be used for authorization.AbstractSession.openServiceAsync
(String serviceIdentifier) Issue an asynchronous request to open a service.ProviderSession.registerServiceAsync
(String serviceName, Identity providerIdentity) Begins the process of registering the service identified by the specifiedserviceName
and returns immediately.ProviderSession.registerServiceAsync
(String serviceName, Identity providerIdentity, CorrelationID correlationId) Begins the process of registering the service identified by the specifiedserviceName
and returns immediately.ProviderSession.registerServiceAsync
(String serviceName, Identity providerIdentity, CorrelationID correlationId, ServiceRegistrationOptions registrationOptions) Is registerServiceAsync extended.ProviderSession.registerServiceAsync
(String serviceName, Identity providerIdentity, ServiceRegistrationOptions registrationOptions) Is registerServiceAsync extended.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, CorrelationID correlationId) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, CorrelationID correlationId, String requestLabel) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, EventQueue eventQueue, CorrelationID correlationId) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, CorrelationID correlationId) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, CorrelationID)
insteadAbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, CorrelationID, String)
insteadAbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID)
insteadAbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID, String)
insteadSession.sendRequest
(Request request, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, EventQueue eventQueue, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, EventQueue eventQueue, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, UserHandle identity, CorrelationID correlationId) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, CorrelationID)
insteadSession.sendRequest
(Request request, UserHandle identity, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, CorrelationID, String)
insteadSession.sendRequest
(Request request, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, EventQueue, CorrelationID)
insteadSession.sendRequest
(Request request, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, EventQueue, CorrelationID, String)
insteadSession.sendRequest
(RequestTemplate requestTemplate) Same as callingsendRequest(requestTemplate, null)
Session.sendRequest
(RequestTemplate requestTemplate, CorrelationID correlationId) Send a request defined by the specified 'requestTemplate'.SessionOptions.setSessionIdentityOptions
(AuthOptions authOptions) Sets the specifiedauthOptions
as theAuthOptions
for the session identity with an automatically generatedCorrelationID
.Modifier and TypeMethodDescriptionvoid
ResolutionList.add
(Message message, CorrelationID correlationId) void
ResolutionList.add
(String topic, CorrelationID correlationId) void
TopicList.add
(Message message, CorrelationID correlationId) void
TopicList.add
(String topic, CorrelationID correlationId) void
EventFormatter.appendRecapMessage
(Topic topic, CorrelationID cid) Append a (empty) recap message that will be published under the specified 'topic' to the event referenced by thisEventFormatter
.void
EventFormatter.appendRecapMessage
(Topic topic, Integer sequenceNumber, CorrelationID cid) Append a (empty) recap message that will be published under the specified 'topic' to the event referenced by thisEventFormatter
.ResolutionList.attribute
(Name attributeName, CorrelationID correlationId) Deprecated.Attributes are no longer supported.void
AbstractSession.cancel
(CorrelationID correlationId) Cancel an outstanding request or a subscription represented by the specified correlationIdvoid
AbstractSession.cancel
(CorrelationID correlationId, String requestLabel) Cancel an outstanding request or a subscription represented by the specified correlationIdabstract Event
Service.createResponseEvent
(CorrelationID correlationId) Create a response Event to answer the request.Session.createSnapshotRequestTemplate
(String subscriptionString, CorrelationID statusCid) Session.createSnapshotRequestTemplate
(String subscriptionString, CorrelationID statusCid, Identity identity) Create a snapshot request template for getting subscription data specified by the 'subscriptionString' using the optionally specified 'identity' if all the following conditions are met: the session is established, 'subscriptionString' is a valid subscription string and 'statusCid' is not used in this session.void
AbstractSession.generateAuthorizedIdentity
(AuthOptions authOptions, CorrelationID correlationId) AbstractSession.generateToken
(CorrelationID correlationId) Return a generated token to be used for authorization.AbstractSession.generateToken
(CorrelationID correlationId, EventQueue eventQueue) Return a generated token to be used for authorization.AbstractSession.generateToken
(String userId, String ipAddress, CorrelationID correlationId, EventQueue eventQueue) Return a generated token to be used for authorization.AbstractSession.getAuthorizedIdentity
(CorrelationID correlationId) Returns the authorized identity associated withcorrelationId
.ResolutionList.message
(CorrelationID correlationId) TopicList.message
(CorrelationID correlationId) void
AbstractSession.openServiceAsync
(String serviceIdentifier, CorrelationID correlationId) Initiate an asynchronous request to open a service.ProviderSession.registerServiceAsync
(String serviceName, Identity providerIdentity, CorrelationID correlationId) Begins the process of registering the service identified by the specifiedserviceName
and returns immediately.ProviderSession.registerServiceAsync
(String serviceName, Identity providerIdentity, CorrelationID correlationId, ServiceRegistrationOptions registrationOptions) Is registerServiceAsync extended.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, CorrelationID correlationId) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, CorrelationID correlationId, String requestLabel) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, EventQueue eventQueue, CorrelationID correlationId) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, Identity identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Send the specified authorizationRequest and update the specified identity with the results.AbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, CorrelationID correlationId) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, CorrelationID)
insteadAbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, CorrelationID, String)
insteadAbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID)
insteadAbstractSession.sendAuthorizationRequest
(Request authorizationRequest, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useAbstractSession.sendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID, String)
insteadSession.sendRequest
(Request request, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, EventQueue eventQueue, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, EventQueue eventQueue, CorrelationID correlationId) Send the specified request to a service using this sessionSession.sendRequest
(Request request, Identity identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Send the specified request to a service using this sessionSession.sendRequest
(Request request, UserHandle identity, CorrelationID correlationId) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, CorrelationID)
insteadSession.sendRequest
(Request request, UserHandle identity, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, CorrelationID, String)
insteadSession.sendRequest
(Request request, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, EventQueue, CorrelationID)
insteadSession.sendRequest
(Request request, UserHandle identity, EventQueue eventQueue, CorrelationID correlationId, String requestLabel) Deprecated.as of 3.3.0, useSession.sendRequest(Request, Identity, EventQueue, CorrelationID, String)
insteadSession.sendRequest
(RequestTemplate requestTemplate, CorrelationID correlationId) Send a request defined by the specified 'requestTemplate'.void
Subscription.setCorrelationID
(CorrelationID correlationId) void
SessionOptions.setSessionIdentityOptions
(AuthOptions authOptions, CorrelationID correlationId) Sets the specifiedauthOptions
as theAuthOptions
for the session identity, enabling automatic authorization of the session identity during startup.ResolutionList.status
(CorrelationID correlationId) TopicList.status
(CorrelationID correlationId) int
Session.subscriptionStatus
(CorrelationID correlationId) Returns the subscription status for the specified correlationIdSession.subscriptionString
(CorrelationID correlationId) Returns the subscription string for the specified correlationIdResolutionList.topicString
(CorrelationID correlationId) TopicList.topicString
(CorrelationID correlationId) void
Session.unsubscribe
(CorrelationID correlationId) Deprecated.as of 3.2.2 UseAbstractSession.cancel(CorrelationID)
insteadModifier and TypeMethodDescriptionvoid
AbstractSession.cancel
(List<CorrelationID> correlators) Cancel outstanding requests or subscriptions represented by the specified list of correlationIdsvoid
AbstractSession.cancel
(List<CorrelationID> correlators, String requestLabel) Cancel outstanding requests or subscriptions represented by the specified list of correlationIdsModifierConstructorDescriptionCorrelationID
(CorrelationID from) Subscription
(String subscriptionString, CorrelationID correlationID) Construct a Subscription object with the specified subscription string and the specified correlationID for correlation.Subscription
(String subscriptionString, CorrelationID correlationID, boolean isResolved) Construct a Subscription object with the specified subscription string, the specified correlationID for correlation, and the specifiedisResolved
flag.Subscription
(String subscriptionString, String fields, CorrelationID correlationId) Create a Subscription object with the specified subscriptionString and fields with no options and the specified correlationIdSubscription
(String subscriptionString, String fields, String options, CorrelationID correlationId) Create a Subscription object with the specified subscriptionString, fields, options and correlationIdSubscription
(String security, List<String> fields, CorrelationID correlationId) Subscription
(String security, List<String> fields, List<String> options, CorrelationID correlationId) SubscriptionPreprocessError
(CorrelationID correlationId, String subscriptionString, SubscriptionPreprocessError.Code code, String description) Creates a newSubscriptionPreprocessError
. -
Uses of CorrelationID in com.bloomberglp.blpapi.test
Modifier and TypeMethodDescriptionMessageProperties.setCorrelationId
(CorrelationID correlationId) Modifier and TypeMethodDescriptionMessageProperties.setCorrelationIds
(List<CorrelationID> correlationIds) Sets theCorrelationID
property.
Message.correlationID(int)