|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lmax.api.reject.InstructionRejectedEvent
public class InstructionRejectedEvent
Event received when a instruction is rejected asynchronously. E.g. INSUFFICIENT_LIQUIDITY
Constructor Summary | |
---|---|
InstructionRejectedEvent(java.lang.String instructionId,
long accountId,
long instrumentId,
java.lang.String reason)
Contruct the event. |
Method Summary | |
---|---|
long |
getAccountId()
The accountId of the user that submitted the request. |
java.lang.String |
getInstructionId()
The instructionId that this rejection was caused by. |
long |
getInstrumentId()
The instrumentId that the instruction was placed on. |
java.lang.String |
getReason()
The reason for the reject. |
java.lang.String |
toString()
Convert this event to a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstructionRejectedEvent(java.lang.String instructionId, long accountId, long instrumentId, java.lang.String reason)
instructionId
- The instructionId that this rejection was caused byaccountId
- The accountId of the user that submitted the requestinstrumentId
- The instrumentId that the instruction was placed onreason
- The reason for the rejectMethod Detail |
---|
public java.lang.String getInstructionId()
public long getAccountId()
public long getInstrumentId()
public java.lang.String getReason()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |