|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITransportable
Implementation of that interface will guaranty that object can map to IMessage to send over network.
| Method Summary | |
|---|---|
boolean |
fill(IMessage aMsg)
Fills object state based on message. |
long |
getMakingTime()
Return the time when this instance of ITransportable object was made |
String |
getRequestID()
Obtains the Request ID on this object |
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. |
IMessage |
toMessage(String aSID,
IMessageFactory aFactory)
Converts object to IMessage. |
IMessage |
toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
Converts object to IMessage. |
boolean |
update(IMessage aMsg)
Updates object state based on message. |
| Method Detail |
|---|
IMessage toMessage(String aSID,
IMessageFactory aFactory)
aSID - user session IDaFactory - message factory that is in use to process
null if creation fails
IMessage toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
aSID - 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 failsboolean fill(IMessage aMsg)
aMsg - message to get new state from
true if succeeded, false otherwise.boolean update(IMessage aMsg)
aMsg - message to get udpated state from
true if succeeded, false otherwise.boolean isValid()
true if object state is valid, false otherwise.com.fxcm.entity.ICode getType()
String getTradingSessionID()
String getTradingSessionSubID()
String getRequestID()
long getMakingTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||