|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.messaging.TransportableContainer
public class TransportableContainer
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
|
| Constructor Summary | |
|---|---|
TransportableContainer(ITransportable aObject,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions)
|
|
| 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 |
int |
getOptions()
|
String |
getRequestID()
Obtains the Request ID on this object |
String |
getTradingSessionID()
Obtains the Trading Session ID |
String |
getTradingSessionSubID()
Obtains the Trading Session Sub ID |
ITransportable |
getTransportable()
|
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. |
| 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 TransportableContainer(ITransportable aObject,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions)
| Method Detail |
|---|
public IMessage toMessage(String aSID,
IMessageFactory aFactory)
toMessage in interface ITransportableaSID - user session IDaFactory - message factory that is in use to process
null if creation fails
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 fill(IMessage aMsg)
fill in interface ITransportableaMsg - message to get new state from
true if succeeded, false otherwise.public boolean update(IMessage aMsg)
update in interface ITransportableaMsg - message to get udpated state from
true if succeeded, false otherwise.public boolean isValid()
isValid in interface ITransportabletrue if object state is valid, false otherwise.public com.fxcm.entity.ICode getType()
getType in interface ITransportablepublic String getTradingSessionID()
getTradingSessionID in interface ITransportablepublic String getTradingSessionSubID()
getTradingSessionSubID in interface ITransportablepublic String getRequestID()
getRequestID in interface ITransportablepublic int getOptions()
public ITransportable getTransportable()
public long getMakingTime()
getMakingTime in interface ITransportable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||