Class Layer1ApiAccountIdConvertMessage

java.lang.Object
velox.api.layer1.messages.Layer1ApiAccountIdConvertMessage
All Implemented Interfaces:
Layer1ApiIgnorableDownwardMessage, UserProviderTargetedMessage

public class Layer1ApiAccountIdConvertMessage extends Object implements 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.
  • Field Details

    • additionalAccountInfo

      public final String additionalAccountInfo
    • providerType

      public final String providerType
  • Constructor Details

    • Layer1ApiAccountIdConvertMessage

      public Layer1ApiAccountIdConvertMessage(String additionalAccountInfo, String providerType)
      Parameters:
      additionalAccountInfo - account info that providers should use to convert it into AccountInfo.id in JSON format using the structure that is agreed between the provider and an embedded client.
  • Method Details