|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.cmemdp.marketdata.cfg.Configuration
public class Configuration
Nested Class Summary | |
---|---|
static class |
Configuration.SecurityFilter
|
static class |
Configuration.Subscription
|
static class |
Configuration.SubscriptionOption
|
Constructor Summary | |
---|---|
Configuration()
|
Method Summary | |
---|---|
Configuration |
bindAllSecurityEventsListener(java.lang.String id,
SecurityEventsListener listener)
Bind an Security Event Listener instance to a given Subscription. |
Configuration |
bindApplicationListener(ApplicationEventListener listener)
|
Configuration |
bindConsolidatedBookListener(java.lang.String id,
ConsolidatedOrderBookListener listener)
Bind an Consolidated Order Book Listener instance to a given Subscription. |
Configuration |
bindDirectBookListener(java.lang.String id,
OrderBookListener listener)
Bind an Order Book Listener instance to a given Subscription. |
Configuration |
bindImpliedBookListener(java.lang.String id,
ImpliedOrderBookListener listener)
Bind an Implied Order Book Listener instance to a given Subscription. |
Configuration |
bindQuoteRequestsListener(java.lang.String id,
QuoteRequestListener listener)
Bind an Quote Request Listener instance to a given Subscription. |
Configuration |
bindSecurityDefListener(SecurityDefEventsListener listener)
|
Configuration |
bindSecurityStatusListener(java.lang.String id,
SecurityStatusListener listener)
Bind an Security Status Listener instance to a given Subscription. |
Configuration |
bindStatisticsListener(java.lang.String id,
StatisticsListener listener)
Bind an Statistics Listener instance to a given Subscription. |
Configuration |
bindTradesListener(java.lang.String id,
TradeListener listener)
Bind an Trade Listener instance to a given Subscription. |
Configuration.Subscription |
findSubscription(java.lang.String id)
Find Subscription be Id. |
ApplicationEventListener |
getApplicationListener()
|
ApplicationParams |
getCmeApplicationParams()
|
int |
getCorridorQueueSize()
|
int |
getIncrementQueueSize()
|
java.lang.String |
getNetworkInterface()
|
java.lang.String |
getNetworkInterfaceA()
|
java.lang.String |
getNetworkInterfaceB()
|
RecoveryOptions |
getRecoveryOptions()
|
SecurityDefEventsListener |
getSecurityDefEventsListener()
|
java.util.List<Configuration.Subscription> |
getSubscriptions()
|
java.lang.String |
getUriToCmeConfig()
|
java.lang.String |
getUriToFastTemplates()
|
void |
setApplicationListener(ApplicationEventListener applicationListener)
|
Configuration |
setCorridorQueueSize(int corridorQueueSize)
|
Configuration |
setIncrementQueueSize(int incrementQueueSize)
|
void |
setNetworkInterface(java.lang.String networkInterface)
|
void |
setNetworkInterfaceA(java.lang.String networkInterfaceA)
|
void |
setNetworkInterfaceB(java.lang.String networkInterfaceB)
|
Configuration |
setRecoveryOptions(RecoveryOptions recoveryOptions)
|
void |
setSecurityDefEventsListener(SecurityDefEventsListener securityDefEventsListener)
|
Configuration |
setSubscriptions(java.util.List<Configuration.Subscription> subscriptions)
|
Configuration |
setUriToCmeConfig(java.lang.String uriToCmeConfig)
|
Configuration |
setUriToFastTemplates(java.lang.String uriToFastTemplates)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Configuration()
Method Detail |
---|
public java.lang.String getUriToCmeConfig()
public Configuration setUriToCmeConfig(java.lang.String uriToCmeConfig)
public java.lang.String getUriToFastTemplates()
public Configuration setUriToFastTemplates(java.lang.String uriToFastTemplates)
public int getIncrementQueueSize()
public Configuration setIncrementQueueSize(int incrementQueueSize)
public int getCorridorQueueSize()
public Configuration setCorridorQueueSize(int corridorQueueSize)
public java.lang.String getNetworkInterface()
public void setNetworkInterface(java.lang.String networkInterface)
public java.lang.String getNetworkInterfaceA()
public void setNetworkInterfaceA(java.lang.String networkInterfaceA)
public java.lang.String getNetworkInterfaceB()
public void setNetworkInterfaceB(java.lang.String networkInterfaceB)
public java.util.List<Configuration.Subscription> getSubscriptions()
public Configuration setSubscriptions(java.util.List<Configuration.Subscription> subscriptions)
public RecoveryOptions getRecoveryOptions()
public Configuration setRecoveryOptions(RecoveryOptions recoveryOptions)
public Configuration bindDirectBookListener(java.lang.String id, OrderBookListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration bindImpliedBookListener(java.lang.String id, ImpliedOrderBookListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration bindConsolidatedBookListener(java.lang.String id, ConsolidatedOrderBookListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration bindAllSecurityEventsListener(java.lang.String id, SecurityEventsListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration bindTradesListener(java.lang.String id, TradeListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration bindStatisticsListener(java.lang.String id, StatisticsListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration bindQuoteRequestsListener(java.lang.String id, QuoteRequestListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration bindSecurityStatusListener(java.lang.String id, SecurityStatusListener listener)
id
- Id of Subscriptionlistener
- a Listener instance to bind
public Configuration.Subscription findSubscription(java.lang.String id)
id
- Id of Subscription
public Configuration bindApplicationListener(ApplicationEventListener listener)
public Configuration bindSecurityDefListener(SecurityDefEventsListener listener)
public ApplicationEventListener getApplicationListener()
public void setApplicationListener(ApplicationEventListener applicationListener)
public SecurityDefEventsListener getSecurityDefEventsListener()
public void setSecurityDefEventsListener(SecurityDefEventsListener securityDefEventsListener)
public ApplicationParams getCmeApplicationParams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |