com.epam.admintool.commands.util
Class CommandUtil
java.lang.Object
com.epam.admintool.commands.util.CommandUtil
public class CommandUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGURED_SESSION_STATUS_GROUP
public static final com.epam.fixicc.message.StatusGroup CONFIGURED_SESSION_STATUS_GROUP
CONFIGURED_SESSION_STATUS
public static final String CONFIGURED_SESSION_STATUS
- See Also:
- Constant Field Values
CommandUtil
public CommandUtil()
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)
- Gets extra session params from FIX session parameters.
Use this method for preconfigured sessions.
For active session use method CommandUtil.getExtraSessionParams(com.epam.fixengine.session.ExtendedFIXSession)
- Parameters:
parameters
- the FIX session parameters- See Also:
getExtraSessionParams(com.epam.fixengine.session.ExtendedFIXSession)
getRole
public static com.epam.fixicc.message.SessionRole getRole(ExtendedFIXSession session)
getInSeqNum
public static long getInSeqNum(SessionParameters parameters)
getOutSeqNum
public static long getOutSeqNum(SessionParameters parameters)
getEncryptMethod
public static com.epam.fixicc.message.EncryptMethod getEncryptMethod(com.epam.fixengine.encryption.EncryptionType encryptionType)
getFixVesrion
public static com.epam.fixicc.message.FIXVersion getFixVesrion(String version)
getApplVerID
public static com.epam.fixicc.message.ApplVerID getApplVerID(String version)
getStatusGroup
public static com.epam.fixicc.message.StatusGroup getStatusGroup(ExtendedFIXSession session)
getXmlGregorianCalendarValue
public static XMLGregorianCalendar getXmlGregorianCalendarValue(Date date)
getXmlGregorianCalendarValue
public static XMLGregorianCalendar getXmlGregorianCalendarValue(long time)
getFIXVersion
public static FIXVersion getFIXVersion(com.epam.fixicc.message.FIXVersion version)
isBackupHost
public static com.epam.fixicc.message.BackupState isBackupHost(ExtendedFIXSession session)
getPropertyAsBollean
protected static boolean getPropertyAsBollean(ExtendedFIXSession session,
String name,
boolean defaultVal)
getAppFIXVersion
public static FIXVersion getAppFIXVersion(com.epam.fixicc.message.ApplVerID applVerID)
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.