|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.custom.news.FXCMNewsTopicRequest
public class FXCMNewsTopicRequest
This class represents FXCMNewsTopicRequest message.
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
Message type |
| Constructor Summary | |
|---|---|
FXCMNewsTopicRequest()
Default constructor. |
|
| 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 |
String |
getTestReqID()
Gets test request identifier. |
String |
getTradingSessionID()
Gets trading session identifier (supposed to be FXCM). |
String |
getTradingSessionSubID()
Gets trading session sub-identifier (supposed to be NewsServer). |
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 |
setTestReqID(String asTestReqID)
Sets test request identifier. |
void |
setTradingSessionID(String asTradingSessionID)
Sets trading session identifier (supposed to be FXCM). |
void |
setTradingSessionSubID(String asTradingSessionSubID)
Sets trading session sub-identifier (supposed to be NewsServer). |
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. |
boolean |
update(IMessage aMsg)
Update object state based on message state. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final com.fxcm.entity.ICode OBJ_TYPE
| Constructor Detail |
|---|
public FXCMNewsTopicRequest()
| Method Detail |
|---|
public String getTestReqID()
public String getTradingSessionID()
getTradingSessionID in interface ITransportablepublic String getTradingSessionSubID()
getTradingSessionSubID in interface ITransportablepublic void setTestReqID(String asTestReqID)
public void setTradingSessionID(String asTradingSessionID)
public void setTradingSessionSubID(String asTradingSessionSubID)
public void reset()
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 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 if state is OK; false otherwise.public com.fxcm.entity.ICode getType()
getType in interface ITransportablepublic boolean fill(IMessage aMsg)
fill in interface ITransportableaMsg - message to get new state from
true if new state is OK; false otherwise.public String getRequestID()
ITransportable
getRequestID in interface ITransportablepublic long getMakingTime()
getMakingTime in interface ITransportable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||