public class QuotesApiFailedContext extends Object implements QuotesSubsFailedContext
| Constructor and Description |
|---|
QuotesApiFailedContext(ClientStateMachine state,
int retries,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clientDisconnect() |
Throwable |
getCause() |
Optional<Integer> |
getConnAck()
The ConnAck message if contained an error code.
|
int |
getRetriesAttempted() |
ClientStateMachine |
getState() |
boolean |
serverDisconnect() |
void |
setThrottled(boolean throttled) |
boolean |
throttled() |
boolean |
userDisconnect() |
public QuotesApiFailedContext(ClientStateMachine state, int retries, Throwable cause)
public int getRetriesAttempted()
getRetriesAttempted in interface RetryContextpublic Throwable getCause()
getCause in interface RetryContextpublic boolean throttled()
throttled in interface RetryContextpublic void setThrottled(boolean throttled)
setThrottled in interface RetryContextpublic Optional<Integer> getConnAck()
QuotesSubsFailedContextgetConnAck in interface QuotesSubsFailedContextpublic boolean userDisconnect()
userDisconnect in interface QuotesSubsFailedContextpublic boolean clientDisconnect()
clientDisconnect in interface QuotesSubsFailedContextpublic boolean serverDisconnect()
serverDisconnect in interface QuotesSubsFailedContextpublic ClientStateMachine getState()
getState in interface QuotesSubsFailedContextCopyright © 2025 Webull. All rights reserved.