public class ConsumerRole extends ReactorRole
ReactorRole,
ReactorRoleTypes| Constructor and Description |
|---|
ConsumerRole()
Instantiates a new consumer role.
|
| Modifier and Type | Method and Description |
|---|---|
com.thomsonreuters.upa.codec.Buffer |
clientId()
Specifies an unique ID defined for an application making a request to the EDP token service.
|
int |
clientId(com.thomsonreuters.upa.codec.Buffer clientId)
Specifies an unique ID defined for an application making a request to the EDP token service.
|
int |
dictionaryDownloadMode()
Specifies the
DictionaryDownloadModes. |
void |
dictionaryDownloadMode(int mode)
Specifies the
DictionaryDownloadModes. |
RDMDictionaryMsgCallback |
dictionaryMsgCallback()
A callback function for processing RDMDictionaryMsgEvents received.
|
void |
dictionaryMsgCallback(RDMDictionaryMsgCallback callback)
A callback function for processing RDMDictionaryMsgEvents received.
|
RDMDirectoryMsgCallback |
directoryMsgCallback()
A callback function for processing RDMDirectoryMsgEvents received.
|
void |
directoryMsgCallback(RDMDirectoryMsgCallback callback)
A callback function for processing RDMDirectoryMsgEvents received.
|
void |
initDefaultRDMDirectoryRequest()
Initializes the RDM DirectoryRequest with default information.
|
void |
initDefaultRDMLoginRequest()
Initializes the RDM LoginRequest with default information.
|
RDMLoginMsgCallback |
loginMsgCallback()
A callback function for processing RDMLoginMsgEvents received.
|
void |
loginMsgCallback(RDMLoginMsgCallback callback)
A callback function for processing RDMLoginMsgEvents received.
|
DirectoryRequest |
rdmDirectoryRequest()
A Directory Request to be sent during the setup of a Consumer-Provider
session.
|
void |
rdmDirectoryRequest(DirectoryRequest directoryRequest)
A Directory Request to be sent during the setup of a Consumer-Provider
session.
|
LoginRequest |
rdmLoginRequest()
The
LoginRequest to be sent during the connection establishment
process. |
void |
rdmLoginRequest(LoginRequest loginRequest)
The
LoginRequest to be sent during the connection establishment
process. |
ConsumerWatchlistOptions |
watchlistOptions()
Options for using the watchlist.
|
channelEventCallback, channelEventCallback, defaultMsgCallback, defaultMsgCallback, toString, typepublic void rdmLoginRequest(LoginRequest loginRequest)
LoginRequest to be sent during the connection establishment
process. This can be populated with a user's specific information or
invoke initDefaultRDMLoginRequest() to populate with default
information. If this parameter is left empty no login will be sent to
the system; useful for systems that do not require a login.loginRequest - the login requestpublic LoginRequest rdmLoginRequest()
LoginRequest to be sent during the connection establishment
process. This can be populated with a user's specific information or
invoke initDefaultRDMLoginRequest() to populate with default
information. If this parameter is left empty no login will be sent to
the system; useful for systems that do not require a login.public void initDefaultRDMLoginRequest()
rdmLoginRequest(LoginRequest)) the rdmLoginRequest object will
be reused.public void rdmDirectoryRequest(DirectoryRequest directoryRequest)
initDefaultRDMDirectoryRequest() to populate with default
information. Requires LoginRequest to be set.directoryRequest - the directory requestpublic DirectoryRequest rdmDirectoryRequest()
initDefaultRDMDirectoryRequest() to populate with default
information. Requires LoginRequest to be set.public void initDefaultRDMDirectoryRequest()
rdmDirectoryRequest(DirectoryRequest)) the rdmDirectoryRequest
object will be reused.public int clientId(com.thomsonreuters.upa.codec.Buffer clientId)
clientId - the clientIdReactorReturnCodes.SUCCESS on success, if data is null,
or if position or length is outside of the data's capacity.
ReactorReturnCodes.PARAMETER_INVALID.public com.thomsonreuters.upa.codec.Buffer clientId()
public void dictionaryDownloadMode(int mode)
DictionaryDownloadModes.mode - A specific DictionaryDownloadModesDictionaryDownloadModespublic int dictionaryDownloadMode()
DictionaryDownloadModes.DictionaryDownloadModespublic void loginMsgCallback(RDMLoginMsgCallback callback)
callback - the callbackRDMLoginMsgCallback,
RDMLoginMsgEventpublic RDMLoginMsgCallback loginMsgCallback()
public void directoryMsgCallback(RDMDirectoryMsgCallback callback)
callback - the callbackRDMDirectoryMsgCallback,
RDMDirectoryMsgEventpublic RDMDirectoryMsgCallback directoryMsgCallback()
public void dictionaryMsgCallback(RDMDictionaryMsgCallback callback)
callback - the callbackRDMDictionaryMsgCallback,
RDMDictionaryMsgEventpublic RDMDictionaryMsgCallback dictionaryMsgCallback()
public ConsumerWatchlistOptions watchlistOptions()
Copyright @ 2019 Thomson Reuters. All Rights Reserved.