|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.pretrade.TradingSessionStatusRequest
public class TradingSessionStatusRequest
Trading Session Status Request FIX 4.4
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
MarketDataSnapshot object type |
| Constructor Summary | |
|---|---|
TradingSessionStatusRequest()
Creates object with default state. |
|
| Method Summary | |
|---|---|
boolean |
fill(IMessage aMsg)
Fills object state based on message state. |
long |
getMakingTime()
Return the time when this instance of ITransportable object was made |
String |
getRequestID()
Obtains the Request ID on this object |
ISubscriptionRequestType |
getSubscriptionRequestType()
Obtains current Subscription Request Type. |
String |
getTradingSessionID()
Obtains current Trading Session ID. |
String |
getTradingSessionSubID()
Obtains current Trading Session sub ID. |
String |
getTradSesReqID()
Obtains current trading session status request ID. |
com.fxcm.entity.ICode |
getType()
Obtains object type. |
boolean |
isValid()
Determines whether object state is valid. |
void |
reset()
Reset object state to default values. |
void |
setSubscriptionRequestType(ISubscriptionRequestType aSubscriptionRequestType)
Updates Subscription Request Type. |
void |
setSubscriptionRequestType(String aSubscriptionRequestType)
Updates Subscription Request Type. |
void |
setTradingSessionID(String aTradingSessionID)
Updates Trading Session ID. |
void |
setTradingSessionSubID(String aTradingSessionSubID)
Updates Trading Session sub ID. |
void |
setTradSesReqID(String aTradSesReqID)
Sets Trading Session Status Request ID. |
IMessage |
toMessage(String aSID,
IMessageFactory aFactory)
Converts object to message. |
IMessage |
toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
Converts object to IMessage. |
String |
toString()
|
boolean |
update(IMessage aMsg)
Update object state based on message state. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final com.fxcm.entity.ICode OBJ_TYPE
| Constructor Detail |
|---|
public TradingSessionStatusRequest()
| Method Detail |
|---|
public com.fxcm.entity.ICode getType()
getType in interface ITransportablepublic void setTradSesReqID(String aTradSesReqID)
null by default.
aTradSesReqID - Must be unique withing system, use
IUserSession.getNextRequestID()
com.fxcm.messaging.IUserSession#getNextRequestID()}
to generate one.public void setTradingSessionID(String aTradingSessionID)
aTradingSessionID - string object of trading session IDpublic void setTradingSessionSubID(String aTradingSessionSubID)
aTradingSessionSubID - string object of trading session sub ID.public void setSubscriptionRequestType(String aSubscriptionRequestType)
aSubscriptionRequestType - string objectpublic void setSubscriptionRequestType(ISubscriptionRequestType aSubscriptionRequestType)
aSubscriptionRequestType - ICode objectpublic String getTradSesReqID()
null when not presentpublic String getTradingSessionID()
getTradingSessionID in interface ITransportablenull when not presentpublic String getTradingSessionSubID()
getTradingSessionSubID in interface ITransportablenull when not presentpublic ISubscriptionRequestType getSubscriptionRequestType()
null values
public IMessage toMessage(String aSID,
IMessageFactory aFactory)
toMessage in interface ITransportableaSID - User session IDaFactory - message factory to create message objects
null in case of errors
public IMessage toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
toMessage in interface ITransportableaSID - user session IDaTradingSessionID - Trading Session ID, to alternate a value from object stateaTradingSessionSubID - Trading Session Sub ID, to alternate a value from object stateaRequestID - Request ID, to alternate a value from object stateaOptions - Set of options for message creation, reservedaFactory - message factory that is in use to process
null if creation failspublic void reset()
public boolean fill(IMessage aMsg)
fill in interface ITransportableaMsg - message to get new state from
true if new state is OK; false otherwise.public boolean update(IMessage aMsg)
fill().
update in interface ITransportableaMsg - message to get udpated state from
true if new state is OK; false otherwise.public boolean isValid()
isValid in interface ITransportabletrue always.public String getRequestID()
ITransportable
getRequestID in interface ITransportablepublic long getMakingTime()
getMakingTime in interface ITransportablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||