com.epam.cmemdp.marketdata.impl
Class Securities

java.lang.Object
  extended by com.epam.cmemdp.marketdata.impl.Securities
All Implemented Interfaces:
QuoteReqMsgListener, SecDefListener, SecDefMsgListener, SecurityStatusMsgListener

public class Securities
extends java.lang.Object
implements SecDefListener, SecDefMsgListener, QuoteReqMsgListener, SecurityStatusMsgListener


Constructor Summary
Securities(Subscriptions subscriptions)
           
 
Method Summary
 void clear(java.lang.Long securityId)
           
 java.util.Set<java.lang.Long> getAllIds()
           
 java.util.Set<java.lang.Long> getIdsByDesc(java.lang.String desc)
           
 java.util.Set<java.lang.Long> getIdsByGroup(java.lang.String groupName)
           
 java.util.Set<java.lang.Long> getIdsBySymbol(java.lang.String symbol)
           
 QuoteRequest getQuoteRequest(java.lang.Long securityId)
           
 UpdatableSecurityDefinition getSecurityDefinition(java.lang.Long securityId)
           
 SecurityStatus getSecurityStatus(java.lang.Long securityId)
           
 void onQuoteRequest(FIXFieldList message)
           
 void onRecoveryStarted(java.lang.String securityDescription, long secDesc)
           
 void onRecoveryStopped(java.lang.String securityDescription, long secDesc, RecoveryReason recoveryReason)
           
 void onSecurityDefinition(java.lang.String secDesc, long securityId, FIXFieldList message, java.lang.String chanelId)
           
 void onSecurityDefinitionMessage(FIXFieldList message)
           
 void onSecurityStatus(FIXFieldList message)
           
 void onSubscribed(java.lang.String securityDescription, long secDesc)
           
 void onUnsubscribed(java.lang.String securityDescription, long securityID)
           
 void setFastContext(FASTAppContext fastContext)
           
 void subscribeToEvents(SecurityDefEventsListener listener)
           
 void unsubscribeFromEvents(SecurityDefEventsListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Securities

public Securities(Subscriptions subscriptions)
Method Detail

setFastContext

public void setFastContext(FASTAppContext fastContext)

clear

public void clear(java.lang.Long securityId)

getAllIds

public java.util.Set<java.lang.Long> getAllIds()

getIdsByDesc

public java.util.Set<java.lang.Long> getIdsByDesc(java.lang.String desc)

getIdsBySymbol

public java.util.Set<java.lang.Long> getIdsBySymbol(java.lang.String symbol)

getIdsByGroup

public java.util.Set<java.lang.Long> getIdsByGroup(java.lang.String groupName)

onSecurityDefinition

public void onSecurityDefinition(java.lang.String secDesc,
                                 long securityId,
                                 FIXFieldList message,
                                 java.lang.String chanelId)
Specified by:
onSecurityDefinition in interface SecDefListener

onSecurityDefinitionMessage

public void onSecurityDefinitionMessage(FIXFieldList message)
Specified by:
onSecurityDefinitionMessage in interface SecDefMsgListener

onSecurityStatus

public void onSecurityStatus(FIXFieldList message)
Specified by:
onSecurityStatus in interface SecurityStatusMsgListener

getSecurityStatus

public SecurityStatus getSecurityStatus(java.lang.Long securityId)

getQuoteRequest

public QuoteRequest getQuoteRequest(java.lang.Long securityId)

getSecurityDefinition

public UpdatableSecurityDefinition getSecurityDefinition(java.lang.Long securityId)

onQuoteRequest

public void onQuoteRequest(FIXFieldList message)
Specified by:
onQuoteRequest in interface QuoteReqMsgListener

subscribeToEvents

public void subscribeToEvents(SecurityDefEventsListener listener)

unsubscribeFromEvents

public void unsubscribeFromEvents(SecurityDefEventsListener listener)

onSubscribed

public void onSubscribed(java.lang.String securityDescription,
                         long secDesc)
Specified by:
onSubscribed in interface SecDefListener

onUnsubscribed

public void onUnsubscribed(java.lang.String securityDescription,
                           long securityID)
Specified by:
onUnsubscribed in interface SecDefListener

onRecoveryStarted

public void onRecoveryStarted(java.lang.String securityDescription,
                              long secDesc)
Specified by:
onRecoveryStarted in interface SecDefListener

onRecoveryStopped

public void onRecoveryStopped(java.lang.String securityDescription,
                              long secDesc,
                              RecoveryReason recoveryReason)
Specified by:
onRecoveryStopped in interface SecDefListener


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.