|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lmax.api.heartbeat.HeartbeatRequest
public class HeartbeatRequest
A request for a heartbeat from the Lmax Trader.
Constructor Summary | |
---|---|
HeartbeatRequest(java.lang.String token)
Create a heartbeat request with a user-specified token. |
Method Summary | |
---|---|
java.lang.String |
getUri()
The URI to send the heartbeat request to. |
void |
setToken(java.lang.String token)
Set the user specified token for the heartbeat. |
void |
writeTo(com.lmax.api.internal.xml.StructuredWriter writer)
Internal: Output this request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeartbeatRequest(java.lang.String token)
token
- User specified token that will be
echo back to the user.Method Detail |
---|
public void setToken(java.lang.String token)
token
- User specified token that will be
echo back to the user.public java.lang.String getUri()
getUri
in interface com.lmax.api.internal.Request
public void writeTo(com.lmax.api.internal.xml.StructuredWriter writer)
writeTo
in interface com.lmax.api.internal.Request
writer
- The destination for the content of this request
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |