|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.pretrade.QuoteCancel
public class QuoteCancel
QuoteCancel - sent to notify price consumers that quote(s) are inactive. not in use currently
| Field Summary | |
|---|---|
static String |
CANCEL_ALL_QUOTES_TYPE
Use one message to cancel all quotes |
static String |
CANCEL_SYMBOL_TYPE
Cancel for specified symbol (currency) only |
static com.fxcm.entity.ICode |
OBJ_TYPE
QuoteCancel object type |
| Constructor Summary | |
|---|---|
QuoteCancel()
Creates object with default state. |
|
| Method Summary | |
|---|---|
boolean |
fill(IMessage aMsg)
Fills object state based on message state. |
Instrument |
getInstrument()
Obtains currency being cancelled. |
long |
getMakingTime()
Return the time when this instance of ITransportable object was made |
Parties |
getParties()
Obtains submitting parties. |
String |
getQuoteCancelType()
Obtains quote cancel type. |
String |
getQuoteID()
Retrieve Quote ID. |
String |
getRequestID()
Obtains the Request ID on this object |
String |
getTradingSessionID()
Obtains current Trading Session ID. |
String |
getTradingSessionSubID()
Obtains current Trading Session sub ID. |
com.fxcm.entity.ICode |
getType()
Obtains object type. |
boolean |
isValid()
Determines whether object state is valid. |
void |
printState(PrintStream aOut)
Deprecated. printState is no longer supported. Use toString instead. |
void |
reset()
Reset object state to default values. |
void |
setInstrument(Instrument aInstrument)
Updates current currency. |
void |
setParties(Parties aParties)
Set submitting Parties. |
void |
setQuoteCancelType(String aQuoteCancelType)
Sets Quote Cancel Type . |
void |
setQuoteID(String aQuoteID)
Sets Quote ID. |
void |
setTradingSessionID(String aTradingSessionID)
Updates Trading Session ID. |
void |
setTradingSessionSubID(String aTradingSessionSubID)
Updates Trading Session sub 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 String CANCEL_ALL_QUOTES_TYPE
public static final String CANCEL_SYMBOL_TYPE
public static final com.fxcm.entity.ICode OBJ_TYPE
| Constructor Detail |
|---|
public QuoteCancel()
| Method Detail |
|---|
public com.fxcm.entity.ICode getType()
getType in interface ITransportablepublic void setQuoteCancelType(String aQuoteCancelType)
aQuoteCancelType - type of quote cancel.public void setQuoteID(String aQuoteID)
aQuoteID - ID of quote.public String getQuoteID()
public void setTradingSessionID(String aTradingSessionID)
aTradingSessionID - public void setTradingSessionSubID(String aTradingSessionSubID)
aTradingSessionSubID - public void setInstrument(Instrument aInstrument)
aInstrument - public String getQuoteCancelType()
public String getTradingSessionID()
getTradingSessionID in interface ITransportablenull when not presentpublic String getTradingSessionSubID()
getTradingSessionSubID in interface ITransportablenull when not presentpublic Instrument getInstrument()
null if cancel type is CANCEL_ALL_QUOTES_TYPEpublic void setParties(Parties aParties)
public Parties getParties()
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)
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 void printState(PrintStream aOut)
aOut - Stream to print out.public String toString()
toString in class Objectpublic 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 | |||||||||