|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.custom.AFXCMMessage
com.fxcm.fix.custom.FXCMRequestReject
public class FXCMRequestReject
Used to respond to FXCM Request, FXCM News Request, FXCM News Topic Request messages
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
Message type |
static int |
REJECT_GENERIC
Generic error (w/o specific code). |
static int |
REJECT_NODATA
No data reject. |
static int |
REJECT_TRADING_SESSION_NOT_FOUND
Trading session not found. |
static int |
REJECT_UNKNOWN
Unknown error. |
| Fields inherited from class com.fxcm.fix.custom.AFXCMMessage |
|---|
RESPONSEECODING_DAS, RESPONSEECODING_DS, RESPONSEECODING_RE |
| Constructor Summary | |
|---|---|
FXCMRequestReject()
Default constructor. |
|
FXCMRequestReject(AFXCMMessage aMessage)
|
|
| Method Summary | |
|---|---|
boolean |
copy(AFXCMMessage aMessage)
|
boolean |
deepCopy(AFXCMMessage aMessage)
|
boolean |
fill(IMessage aMsg)
Fills object state based on message state. |
boolean |
fill(Throwable aThrowable)
|
String |
getErrorDetails()
Gets error details |
String |
getRefMsgType()
The MsgType of the FIX message being referenced. |
int |
getRequestReject()
Gets request reject code. |
String |
getText()
Gets text. |
com.fxcm.entity.ICode |
getType()
Obtains object type. |
void |
reset()
Reset object state to default values. |
void |
setErrorDetails(String asFXCMErrorDetails)
Sets error details |
void |
setRefMsgType(String aRefMsgType)
Sets the Reference Message Type |
void |
setRequestReject(int aiFXCMRequestReject)
Sets request reject code. |
void |
setText(String asText)
Sets text. |
IMessage |
toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
Converts object to message. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int REJECT_UNKNOWN
public static final int REJECT_GENERIC
public static final int REJECT_NODATA
public static final int REJECT_TRADING_SESSION_NOT_FOUND
public static final com.fxcm.entity.ICode OBJ_TYPE
| Constructor Detail |
|---|
public FXCMRequestReject()
public FXCMRequestReject(AFXCMMessage aMessage)
| Method Detail |
|---|
public int getRequestReject()
public String getText()
public String getErrorDetails()
public void setRequestReject(int aiFXCMRequestReject)
public void setText(String asText)
public void setErrorDetails(String asFXCMErrorDetails)
public void setRefMsgType(String aRefMsgType)
aRefMsgType - public String getRefMsgType()
public void reset()
reset in class AFXCMMessage
public IMessage toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
toMessage in interface ITransportabletoMessage in class AFXCMMessageaSID - User session IDaFactory - message factory to create message objectsaTradingSessionID - 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, reserved
null in case of errorspublic boolean fill(IMessage aMsg)
fill in interface ITransportablefill in class AFXCMMessageaMsg - message to get new state from
true if new state is OK; false otherwise.public boolean fill(Throwable aThrowable)
public boolean copy(AFXCMMessage aMessage)
copy in class AFXCMMessagepublic boolean deepCopy(AFXCMMessage aMessage)
deepCopy in class AFXCMMessagepublic com.fxcm.entity.ICode getType()
public String toString()
toString in class AFXCMMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||