|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lmax.api.LmaxApi
public class LmaxApi
The root object for accessing the LMAX API.
For full information on how to use the LMAX API, see the Tutorial.
Field Summary | |
---|---|
static java.lang.String |
PROTOCOL_VERSION
|
Constructor Summary | |
---|---|
|
LmaxApi()
Constructs an LMAX Api entry point with default options. |
protected |
LmaxApi(com.lmax.api.internal.ConnectionFactory connectionFactory,
com.lmax.api.internal.SessionFactory sessionFactory,
com.lmax.api.internal.HttpInvoker httpInvoker,
com.lmax.api.internal.XmlParser saxParser)
|
|
LmaxApi(java.lang.String urlBase)
Constructs an LMAX Api entry point to connect to the specified url. |
|
LmaxApi(java.lang.String urlBase,
java.lang.String clientIdentifier)
Constructs an LMAX Api entry point to connect to the specified url. |
Method Summary | |
---|---|
void |
login(LoginRequest message,
LoginCallback callback)
Logs into the LMAX trading system using the specified login details. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOCOL_VERSION
Constructor Detail |
---|
public LmaxApi()
public LmaxApi(java.lang.String urlBase)
urlBase
- The protocol hostname and port specification for the connectionpublic LmaxApi(java.lang.String urlBase, java.lang.String clientIdentifier)
urlBase
- The protocol hostname and port specification for the connectionclientIdentifier
- Identifies the client in HTTP requestsprotected LmaxApi(com.lmax.api.internal.ConnectionFactory connectionFactory, com.lmax.api.internal.SessionFactory sessionFactory, com.lmax.api.internal.HttpInvoker httpInvoker, com.lmax.api.internal.XmlParser saxParser)
Method Detail |
---|
public void login(LoginRequest message, LoginCallback callback)
message
- a message containing the required login detailscallback
- the object to notify of login success/failure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |