com.epam.admintool.commands.util
Class CommandUtil

java.lang.Object
  extended by com.epam.admintool.commands.util.CommandUtil

public class CommandUtil
extends Object


Constructor Summary
CommandUtil()
           
 
Method Summary
static FIXVersion getAppFIXVersion(com.epam.fixicc.message.ApplVerID applVerID)
           
static com.epam.fixicc.message.ExtraSessionParams getExtraSessionParams(ExtendedFIXSession fixSession)
          Gets extra session params from parameters.
static FIXVersion getFIXVersion(com.epam.fixicc.message.FIXVersion version)
           
static com.epam.fixicc.message.FIXVersion getFixVesrion(String version)
           
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 XMLGregorianCalendar getXmlGregorianCalendarValue(Date date)
           
static XMLGregorianCalendar getXmlGregorianCalendarValue(long time)
           
static com.epam.fixicc.message.BackupState isBackupHost(ExtendedFIXSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandUtil

public CommandUtil()
Method Detail

getExtraSessionParams

public static com.epam.fixicc.message.ExtraSessionParams getExtraSessionParams(ExtendedFIXSession fixSession)
Gets extra session params from parameters.

Parameters:
fixSession - the fix session

getRole

public static com.epam.fixicc.message.SessionRole getRole(ExtendedFIXSession session)

getFixVesrion

public static com.epam.fixicc.message.FIXVersion getFixVesrion(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-2011 EPAM Systems. All Rights Reserved.