Package com.epam.admintool.commands.util
Class CommandUtil
java.lang.Object
com.epam.admintool.commands.util.CommandUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final com.epam.fixicc.message.StatusGroupstatic final Map<String,FIXVersion> static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic FIXVersiongetAppVersion(String version) static com.epam.fixicc.message.EncryptMethodgetEncryptMethod(com.epam.fixengine.encryption.EncryptionType encryptionType) static com.epam.fixicc.message.ExtraSessionParamsgetExtraSessionParams(ExtendedFIXSession fixSession) Gets extra session params from fix session.static com.epam.fixicc.message.ExtraSessionParamsgetExtraSessionParams(SessionParameters parameters, FIXSessionRuntimeState runtimeState) Gets extra session params from FIX session parameters.static FIXVersiongetFixVersion(String version) static longgetInSeqNum(SessionParameters parameters, FIXSessionRuntimeState runtimeState) static longgetOutSeqNum(SessionParameters parameters, FIXSessionRuntimeState runtimeState) protected static booleangetPropertyAsBollean(ExtendedFIXSession session, String name, boolean defaultVal) static com.epam.fixicc.message.SessionRolegetRole(ExtendedFIXSession session) static com.epam.fixicc.message.StatusGroupgetStatusGroup(ExtendedFIXSession session) static StringgetVersion(FIXVersion fixVersion, FIXVersion appVersion) static XMLGregorianCalendargetXmlGregorianCalendarValue(long time) static XMLGregorianCalendarstatic com.epam.fixicc.message.BackupStateisBackupHost(ExtendedFIXSession session)
-
Field Details
-
CONFIGURED_SESSION_STATUS_GROUP
public static final com.epam.fixicc.message.StatusGroup CONFIGURED_SESSION_STATUS_GROUP -
CONFIGURED_SESSION_STATUS
- See Also:
-
FIXVERSION_DELIMITER
- See Also:
-
FIX_VERSION_MAPPING
-
-
Method Details
-
getExtraSessionParams
public static com.epam.fixicc.message.ExtraSessionParams getExtraSessionParams(ExtendedFIXSession fixSession) Gets extra session params from fix session.- Parameters:
fixSession- the fix session
-
getExtraSessionParams
public static com.epam.fixicc.message.ExtraSessionParams getExtraSessionParams(SessionParameters parameters, FIXSessionRuntimeState runtimeState) Gets extra session params from FIX session parameters. Use this method for preconfigured sessions. For active session use methodCommandUtil.getExtraSessionParams(com.epam.fixengine.session.ExtendedFIXSession)- Parameters:
parameters- the FIX session parameters- See Also:
-
getRole
-
getInSeqNum
-
getOutSeqNum
-
getEncryptMethod
public static com.epam.fixicc.message.EncryptMethod getEncryptMethod(com.epam.fixengine.encryption.EncryptionType encryptionType) -
getSupportedVersions
-
getVersion
-
getFixVersion
-
getAppVersion
-
getStatusGroup
-
getXmlGregorianCalendarValue
-
getXmlGregorianCalendarValue
-
isBackupHost
-
getPropertyAsBollean
protected static boolean getPropertyAsBollean(ExtendedFIXSession session, String name, boolean defaultVal)
-