Package velox.api.layer1.messages
Class Layer1ApiAccountIdConvertMessage
java.lang.Object
velox.api.layer1.messages.Layer1ApiAccountIdConvertMessage
- All Implemented Interfaces:
Layer1ApiIgnorableDownwardMessage,UserProviderTargetedMessage
IS USED ONLY IN THE EMBEDDED
Is received by providers through
Layer1ApiAdminProvider.sendUserMessage(Object) when account info
from embedded client needs to be converted into AccountInfo.id that the adapter sent before
using TradingAccountsInfoMessage.
Provider should deserialize and convert the additional login data and send Layer1ApiAccountIdConvertMessage.Callback
using Layer1ApiAdminListener.onUserMessage(Object) as a response to this message.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classProvider should send the callback usingLayer1ApiAdminListener.onUserMessage(Object)if the account was not found by providedadditionalAccountInfostatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLayer1ApiAccountIdConvertMessage(String additionalAccountInfo, String providerType) -
Method Summary
-
Field Details
-
additionalAccountInfo
-
providerType
-
-
Constructor Details
-
Layer1ApiAccountIdConvertMessage
- Parameters:
additionalAccountInfo- account info that providers should use to convert it intoAccountInfo.idin JSON format using the structure that is agreed between the provider and an embedded client.
-
-
Method Details
-
getProviderProgrammaticName
- Specified by:
getProviderProgrammaticNamein interfaceUserProviderTargetedMessage
-
toString
-