Tabnine Logo
DefaultSessionFactory.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
quickfix.DefaultSessionFactory
constructor

Best Java code snippets using quickfix.DefaultSessionFactory.<init> (Showing top 10 results out of 315)

origin: quickfix-j/quickfixj

protected AbstractSocketInitiator(Application application,
    MessageStoreFactory messageStoreFactory, SessionSettings settings,
    LogFactory logFactory, MessageFactory messageFactory) throws ConfigError {
  this(settings, new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory));
}
origin: org.quickfixj/quickfixj-all

protected AbstractSocketInitiator(Application application,
    MessageStoreFactory messageStoreFactory, SessionSettings settings,
    LogFactory logFactory, MessageFactory messageFactory) throws ConfigError {
  this(settings, new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory));
}
origin: quickfix-j/quickfixj

protected AbstractSocketAcceptor(Application application,
    MessageStoreFactory messageStoreFactory, SessionSettings settings,
    LogFactory logFactory, MessageFactory messageFactory) throws ConfigError {
  this(settings, new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory));
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.quickfix

protected AbstractSocketInitiator(Application application,
    MessageStoreFactory messageStoreFactory, SessionSettings settings,
    LogFactory logFactory, MessageFactory messageFactory) throws ConfigError {
  this(settings, new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory));
}
origin: org.quickfixj/quickfixj-all

protected AbstractSocketAcceptor(Application application,
    MessageStoreFactory messageStoreFactory, SessionSettings settings,
    LogFactory logFactory, MessageFactory messageFactory) throws ConfigError {
  this(settings, new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory));
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.quickfix

protected AbstractSocketAcceptor(Application application,
    MessageStoreFactory messageStoreFactory, SessionSettings settings,
    LogFactory logFactory, MessageFactory messageFactory) throws ConfigError {
  this(settings, new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory));
}
origin: quickfix-j/quickfixj

/**
 * @param settings session settings
 * @param templateMappings this is a list of session ID patterns mapped to session IDs in
 *        the settings file. The session IDs represent the template for a specified session ID
 *        pattern. The template is used to dynamically create acceptor sessions.
 *        Use "*" to represent a wildcard for a pattern element. For example,
 *        new SessionID("FIX.4.2", "*", "*") would match for any FIX 4.2 session ID.
 *        This allows separate template session configurations for FIX versions (or
 *        CompIDs) being accepted dynamically on a single TCP port.
 * @param application application for the dynamic sessions
 * @param messageStoreFactory message store factory for the dynamic sessions
 * @param logFactory log factory for the dynamic sessions
 * @param messageFactory message factory for the dynamic sessions
 * @see TemplateMapping
 */
public DynamicAcceptorSessionProvider(final SessionSettings settings,
    List<TemplateMapping> templateMappings, quickfix.Application application,
    MessageStoreFactory messageStoreFactory, LogFactory logFactory,
    MessageFactory messageFactory) {
  this.settings = settings;
  this.templateMappings = templateMappings;
  sessionFactory = new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.quickfix

/**
 * @param settings session settings
 * @param templateMappings this is a list of session ID patterns mapped to session IDs in
 *        the settings file. The session IDs represent the template for a specified session ID
 *        pattern. The template is used to dynamically create acceptor sessions.
 *        Use "*" to represent a wildcard for a pattern element. For example,
 *        new SessionID("FIX.4.2", "*", "*") would match for any FIX 4.2 session ID.
 *        This allows separate template session configurations for FIX versions (or
 *        CompIDs) being accepted dynamically on a single TCP port.
 * @param application application for the dynamic sessions
 * @param messageStoreFactory message store factory for the dynamic sessions
 * @param logFactory log factory for the dynamic sessions
 * @param messageFactory message factory for the dynamic sessions
 * @see TemplateMapping
 */
public DynamicAcceptorSessionProvider(final SessionSettings settings,
    List<TemplateMapping> templateMappings, quickfix.Application application,
    MessageStoreFactory messageStoreFactory, LogFactory logFactory,
    MessageFactory messageFactory) {
  this.settings = settings;
  this.templateMappings = templateMappings;
  sessionFactory = new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory);
}
origin: org.quickfixj/quickfixj-all

/**
 * @param settings session settings
 * @param templateMappings this is a list of session ID patterns mapped to session IDs in
 *        the settings file. The session IDs represent the template for a specified session ID
 *        pattern. The template is used to dynamically create acceptor sessions.
 *        Use "*" to represent a wildcard for a pattern element. For example,
 *        new SessionID("FIX.4.2", "*", "*") would match for any FIX 4.2 session ID.
 *        This allows separate template session configurations for FIX versions (or
 *        CompIDs) being accepted dynamically on a single TCP port.
 * @param application application for the dynamic sessions
 * @param messageStoreFactory message store factory for the dynamic sessions
 * @param logFactory log factory for the dynamic sessions
 * @param messageFactory message factory for the dynamic sessions
 * @see TemplateMapping
 */
public DynamicAcceptorSessionProvider(final SessionSettings settings,
    List<TemplateMapping> templateMappings, quickfix.Application application,
    MessageStoreFactory messageStoreFactory, LogFactory logFactory,
    MessageFactory messageFactory) {
  this.settings = settings;
  this.templateMappings = templateMappings;
  sessionFactory = new DefaultSessionFactory(application, messageStoreFactory, logFactory,
      messageFactory);
}
origin: stackoverflow.com

 @Bean(name="dataSourceRedshift")
public DataSource dataSourceRedshift() throws SQLException, JSchException {
  SimpleDriverDataSource dataSource = new SimpleDriverDataSource();
  dataSource.setDriver(new com.amazon.redshift.jdbc41.Driver());
  dataSource.setUrl("jdbc:postgresql://" + redshiftHost + ":" + redshiftPort + "/" + redshiftDatabase);
  dataSource.setUsername(redshiftUser);
  dataSource.setPassword(redshiftPass);

  DefaultSessionFactory defaultSessionFactory = new DefaultSessionFactory();

  TunneledDataSourceWrapper tunneledDataSource = new TunneledDataSourceWrapper(
      new TunnelConnectionManager(
          defaultSessionFactory,
          redshiftTunnel ),
      dataSource );

  return tunneledDataSource;
}
quickfixDefaultSessionFactory<init>

Popular methods of DefaultSessionFactory

  • createDataDictionary
  • getDataDictionary
  • getDictionaryPath
  • getInetAddresses
  • getLogonIntervalsInSeconds
  • getSetting
  • isApplVerIdEnum
  • processFixtDataDictionaries
  • processPreFixtDataDictionary
  • toApplVerID
  • toDictionaryPath
  • getTimestampPrecision
  • toDictionaryPath,
  • getTimestampPrecision

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now