quickfix
Class DefaultSessionFactory

java.lang.Object
  extended by quickfix.DefaultSessionFactory
All Implemented Interfaces:
SessionFactory

public class DefaultSessionFactory
extends java.lang.Object
implements SessionFactory

Factory for creating sessions. Used by the communications code (acceptors, initiators) for creating sessions.


Field Summary
 
Fields inherited from interface quickfix.SessionFactory
ACCEPTOR_CONNECTION_TYPE, INITIATOR_CONNECTION_TYPE, SETTING_CONNECTION_TYPE, SETTING_CONTINUE_INIT_ON_ERROR
 
Constructor Summary
DefaultSessionFactory(Application application, MessageStoreFactory messageStoreFactory, LogFactory logFactory)
           
DefaultSessionFactory(Application application, MessageStoreFactory messageStoreFactory, LogFactory logFactory, MessageFactory messageFactory)
           
 
Method Summary
 Session create(SessionID sessionID, SessionSettings settings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSessionFactory

public DefaultSessionFactory(Application application,
                             MessageStoreFactory messageStoreFactory,
                             LogFactory logFactory)

DefaultSessionFactory

public DefaultSessionFactory(Application application,
                             MessageStoreFactory messageStoreFactory,
                             LogFactory logFactory,
                             MessageFactory messageFactory)
Method Detail

create

public Session create(SessionID sessionID,
                      SessionSettings settings)
               throws ConfigError
Specified by:
create in interface SessionFactory
Throws:
ConfigError