com.teraspaces.qwfix
Class FIXEngineSettings

java.lang.Object
  extended by com.teraspaces.qwfix.FIXObject
      extended by com.teraspaces.qwfix.FIXEngineSettings

public final class FIXEngineSettings
extends FIXObject

Represents the settings of a FIXEngine. This class cannot be inherited.


Field Summary
 
Fields inherited from class com.teraspaces.qwfix.FIXObject
DOCUMENT_TYPE_FAST_SCHEMA, DOCUMENT_TYPE_FIX_ENGINE, DOCUMENT_TYPE_FIX_SCHEMA, DOCUMENT_TYPE_PROCESS, DOCUMENT_TYPE_SCHEDULER, DOCUMENT_TYPE_SESSION, DOCUMENT_TYPE_VISUAL_LAMBDA
 
Method Summary
static FIXEngineSettings fromXmlDocument(Document doc, FIXSchemaLoader fixSchemaLoader, com.teraspaces.qwfix.scheduler.FIXSchedulerLoader fixSchedulerLoader, FIXSessionSettingsLoader fixSessionLoader, com.teraspaces.visuallambda.VisualLambdaModuleFactory visualLambdaModuleFactory)
          Deserializes from an XML document.
 Element getBusinessLogicHandlerSettingsXml(String name)
          Gets the business logic handler settings by specified business logic handler name.
 String getDescription()
          Gets the description.
 FIXEngineSessionSettings getEngineSession(String name, FIXSessionDirection direction)
          Gets the engine session settings with the specified name and direction.
 String getName()
          Gets the engine name.
 FIXEngineRemoteService getRemoteServiceByName(String name)
          Gets the remote service configuration by service name.
 String getRemoteServicePassword()
          Gets the remote service password.
 int getRemoteServicePort()
          Gets the remote service TCP listening port.
 List<FIXEngineRemoteService> getRemoteServices()
          Gets the list of supported remote services.
 com.teraspaces.qwfix.scheduler.FIXScheduler getScheduler()
          Gets the scheduler of the FIX engine.
 com.teraspaces.qwfix.scheduler.FIXSchedulerLoader getSchedulerLoader()
          Gets the scheduler loader.
 FIXSchemaLoader getSchemaLoader()
          Gets the schema loader.
 List<FIXEngineSessionEndPoint> getSessionEndPoints()
          Gets the list of session end points.
 FIXSessionSettingsLoader getSessionLoader()
          Gets the session loader.
 List<FIXEngineSessionSettings> getSessions()
          Gets the list of engine session settings.
 QWVersion getVersion()
          Gets the version of current setting.
 com.teraspaces.visuallambda.VisualLambdaModuleFactory getVisualLambdaModuleFactory()
          Gets the visual lambda module factory.
 boolean isRemoteServiceEnabled()
          Checks if is remote service enabled.
 
Methods inherited from class com.teraspaces.qwfix.FIXObject
createXmlDocument, getGuid, parseXmlDocument, readXmlDocumentInfo, writeXmlDocumentInfo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Gets the engine name.

Returns:
the engine name

getDescription

public String getDescription()
Gets the description.

Returns:
the description

getScheduler

public com.teraspaces.qwfix.scheduler.FIXScheduler getScheduler()
Gets the scheduler of the FIX engine.

Returns:
the scheduler

getSessions

public List<FIXEngineSessionSettings> getSessions()
Gets the list of engine session settings.

The returned list is read only.

Returns:
the engine session settings.

getEngineSession

public FIXEngineSessionSettings getEngineSession(String name,
                                                 FIXSessionDirection direction)
Gets the engine session settings with the specified name and direction.

Parameters:
name - the session name
direction - the session direction
Returns:
the engine session settings

getRemoteServices

public List<FIXEngineRemoteService> getRemoteServices()
Gets the list of supported remote services.

Returns:
the list of supported remote services

isRemoteServiceEnabled

public boolean isRemoteServiceEnabled()
Checks if is remote service enabled.

Returns:
true, if is remote service enabled

getRemoteServicePort

public int getRemoteServicePort()
Gets the remote service TCP listening port.

Returns:
the remote service TCP listening port

getRemoteServicePassword

public String getRemoteServicePassword()
Gets the remote service password.

Returns:
the remote service password

getSchemaLoader

public FIXSchemaLoader getSchemaLoader()
Gets the schema loader.

Returns:
the schema loader

getSchedulerLoader

public com.teraspaces.qwfix.scheduler.FIXSchedulerLoader getSchedulerLoader()
Gets the scheduler loader.

Returns:
the scheduler loader

getSessionLoader

public FIXSessionSettingsLoader getSessionLoader()
Gets the session loader.

Returns:
the session loader

getVisualLambdaModuleFactory

public com.teraspaces.visuallambda.VisualLambdaModuleFactory getVisualLambdaModuleFactory()
Gets the visual lambda module factory.

Returns:
the visual lambda module factory

getSessionEndPoints

public List<FIXEngineSessionEndPoint> getSessionEndPoints()
Gets the list of session end points.

The returned list is read only.

Returns:
the list of session end points

getVersion

public QWVersion getVersion()
Gets the version of current setting.

Returns:
the version of current setting

getBusinessLogicHandlerSettingsXml

public Element getBusinessLogicHandlerSettingsXml(String name)
Gets the business logic handler settings by specified business logic handler name.

See FIXEngineBusinessLogicHandlerNames for more details.

Parameters:
name - the name
Returns:
the business logic handler settings XML element.

getRemoteServiceByName

public FIXEngineRemoteService getRemoteServiceByName(String name)
Gets the remote service configuration by service name.

Parameters:
name - the service name
Returns:
the remote service configuration

fromXmlDocument

public static FIXEngineSettings fromXmlDocument(Document doc,
                                                FIXSchemaLoader fixSchemaLoader,
                                                com.teraspaces.qwfix.scheduler.FIXSchedulerLoader fixSchedulerLoader,
                                                FIXSessionSettingsLoader fixSessionLoader,
                                                com.teraspaces.visuallambda.VisualLambdaModuleFactory visualLambdaModuleFactory)
Deserializes from an XML document.

Parameters:
doc - the doc
fixSchemaLoader - the fix schema loader
fixSchedulerLoader - the fix scheduler loader
fixSessionLoader - the fix session loader
visualLambdaModuleFactory - the visual lambda module factory
Returns:
the fIX engine settings