public class CommandUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURED_SESSION_STATUS |
static com.epam.fixicc.message.StatusGroup |
CONFIGURED_SESSION_STATUS_GROUP |
static Map<String,FIXVersion> |
FIX_VERSION_MAPPING |
static String |
FIXVERSION_DELIMITER |
Constructor and Description |
---|
CommandUtil() |
Modifier and Type | Method and Description |
---|---|
static FIXVersion |
getAppVersion(String version) |
static com.epam.fixicc.message.EncryptMethod |
getEncryptMethod(com.epam.fixengine.encryption.EncryptionType encryptionType) |
static com.epam.fixicc.message.ExtraSessionParams |
getExtraSessionParams(ExtendedFIXSession fixSession)
Gets extra session params from fix session.
|
static com.epam.fixicc.message.ExtraSessionParams |
getExtraSessionParams(SessionParameters parameters,
FIXSessionRuntimeState runtimeState)
Gets extra session params from FIX session parameters.
|
static FIXVersion |
getFixVersion(String version) |
static long |
getInSeqNum(SessionParameters parameters,
FIXSessionRuntimeState runtimeState) |
static long |
getOutSeqNum(SessionParameters parameters,
FIXSessionRuntimeState runtimeState) |
protected static boolean |
getPropertyAsBollean(ExtendedFIXSession session,
String name,
boolean defaultVal) |
static com.epam.fixicc.message.SessionRole |
getRole(ExtendedFIXSession session) |
static com.epam.fixicc.message.StatusGroup |
getStatusGroup(ExtendedFIXSession session) |
static List<String> |
getSupportedVersions() |
static String |
getVersion(FIXVersion fixVersion,
FIXVersion appVersion) |
static XMLGregorianCalendar |
getXmlGregorianCalendarValue(Date date) |
static XMLGregorianCalendar |
getXmlGregorianCalendarValue(long time) |
static com.epam.fixicc.message.BackupState |
isBackupHost(ExtendedFIXSession session) |
public static final com.epam.fixicc.message.StatusGroup CONFIGURED_SESSION_STATUS_GROUP
public static final String CONFIGURED_SESSION_STATUS
public static final String FIXVERSION_DELIMITER
public static final Map<String,FIXVersion> FIX_VERSION_MAPPING
public static com.epam.fixicc.message.ExtraSessionParams getExtraSessionParams(ExtendedFIXSession fixSession)
fixSession
- the fix sessionpublic static com.epam.fixicc.message.ExtraSessionParams getExtraSessionParams(SessionParameters parameters, FIXSessionRuntimeState runtimeState)
CommandUtil.getExtraSessionParams(com.epam.fixengine.session.ExtendedFIXSession)
parameters
- the FIX session parametersgetExtraSessionParams(com.epam.fixengine.session.ExtendedFIXSession)
public static com.epam.fixicc.message.SessionRole getRole(ExtendedFIXSession session)
public static long getInSeqNum(SessionParameters parameters, FIXSessionRuntimeState runtimeState)
public static long getOutSeqNum(SessionParameters parameters, FIXSessionRuntimeState runtimeState)
public static com.epam.fixicc.message.EncryptMethod getEncryptMethod(com.epam.fixengine.encryption.EncryptionType encryptionType)
public static String getVersion(FIXVersion fixVersion, FIXVersion appVersion)
public static FIXVersion getFixVersion(String version)
public static FIXVersion getAppVersion(String version)
public static com.epam.fixicc.message.StatusGroup getStatusGroup(ExtendedFIXSession session)
public static XMLGregorianCalendar getXmlGregorianCalendarValue(Date date)
public static XMLGregorianCalendar getXmlGregorianCalendarValue(long time)
public static com.epam.fixicc.message.BackupState isBackupHost(ExtendedFIXSession session)
protected static boolean getPropertyAsBollean(ExtendedFIXSession session, String name, boolean defaultVal)
Copyright © 2000–2022 EPAM Systems. All rights reserved.