|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.pretrade.SecurityListRequest
public class SecurityListRequest
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
|
static int |
SECURITYLISTREQUESTTYPE_ALL
|
static int |
SECURITYLISTREQUESTTYPE_SYMBOL
|
| Constructor Summary | |
|---|---|
SecurityListRequest()
|
|
SecurityListRequest(Instrument aInstrument,
int aSecurityListRequestType)
|
|
SecurityListRequest(int aSecurityListRequestType)
|
|
| Method Summary | |
|---|---|
boolean |
fill(IMessage aMsg)
Fills object state based on message. |
Instrument |
getInstrument()
Obtains instrument. |
long |
getMakingTime()
Return the time when this instance of ITransportable object was made |
String |
getRequestID()
Obtains the Request ID on this object |
int |
getSecurityListRequestType()
Identifies the type/criteria of Security List Request (x) Valid values: '0' - Symbol (55) '4' - All Securities |
String |
getSecurityReqID()
Unique ID of a Security Request |
String |
getTradingSessionID()
Obtains the Trading Session ID |
String |
getTradingSessionSubID()
Obtains the Trading Session Sub ID |
com.fxcm.entity.ICode |
getType()
Obtains object type. |
boolean |
isValid()
Validates object state. |
void |
setInstrument(Instrument aInstrument)
Updates instrument. |
void |
setSecurityListRequestType(int aSecurityListRequestType)
Identifies the type/criteria of Security List Request (x) Valid values: '0' - Symbol (55) '4' - All Securities |
void |
setSecurityReqID(String aSecurityReqID)
Unique ID of a Security Request |
void |
setTradingSessionID(String aTradingSessionID)
|
void |
setTradingSessionSubID(String aTradingSessionSubID)
|
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)
Updates object state based on message. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SECURITYLISTREQUESTTYPE_SYMBOL
public static final int SECURITYLISTREQUESTTYPE_ALL
public static final com.fxcm.entity.ICode OBJ_TYPE
| Constructor Detail |
|---|
public SecurityListRequest()
public SecurityListRequest(int aSecurityListRequestType)
public SecurityListRequest(Instrument aInstrument,
int aSecurityListRequestType)
| Method Detail |
|---|
public boolean fill(IMessage aMsg)
ITransportable
fill in interface ITransportableaMsg - message to get new state from
true if succeeded, false otherwise.public Instrument getInstrument()
null when not present.public void setInstrument(Instrument aInstrument)
aInstrument - public String getRequestID()
ITransportable
getRequestID in interface ITransportablepublic int getSecurityListRequestType()
public void setSecurityListRequestType(int aSecurityListRequestType)
aSecurityListRequestType - type/criteria of security list requestpublic String getSecurityReqID()
public void setSecurityReqID(String aSecurityReqID)
aSecurityReqID - public String getTradingSessionID()
ITransportable
getTradingSessionID in interface ITransportablepublic void setTradingSessionID(String aTradingSessionID)
public String getTradingSessionSubID()
ITransportable
getTradingSessionSubID in interface ITransportablepublic void setTradingSessionSubID(String aTradingSessionSubID)
public com.fxcm.entity.ICode getType()
ITransportable
getType in interface ITransportablepublic boolean isValid()
ITransportable
isValid in interface ITransportabletrue if object state is valid, false otherwise.
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 String toString()
toString in class Objectpublic boolean update(IMessage aMsg)
ITransportable
update in interface ITransportableaMsg - message to get udpated state from
true if succeeded, false otherwise.public long getMakingTime()
getMakingTime in interface ITransportable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||