Architecture Diagrams for /jnidzwetzki/bitfinex-v2-wss-api-java[edit]
Packages / Module bitfinex-v2-wss-api / com.github.jnidzwetzki.bitfinex.v2 / SimpleBitfinexApiBroker

class SimpleBitfinexApiBroker

Class fields and methods
class SimpleBitfinexApiBroker
constructor SimpleBitfinexApiBroker(config,callbackRegistry,sequenceNumberAuditor,skipConnectionStateNotification)
method authenticateAndWait(latch)
O
method close()
O
method connect()
method connectionStateChange(state)
method createChannelCallbackHandler(channelId,symbol)
O
method getApiKeyPermissions()
O
method getCallbacks()
method getChannelForSymbol(symbol)
O
method getConfiguration()
O
method getConnectionFeatureManager()
O
method getOrderManager()
O
method getOrderbookManager()
O
method getPositionManager()
O
method getQuoteManager()
O
method getRawOrderbookManager()
O
method getSubscribedChannels()
O
method getTradeManager()
O
method getWalletManager()
method handleChannelCallback(message)
method handleCommandCallback(message)
method handleResubscribeFailed(oldChannelIdSymbolMap)
O
method isAuthenticated()
O
method reconnect()
method resubscribeChannels()
S
method safeClose(closeable)
O
method sendCommand(command)
method setupCommandCallbacks()
method setupDefaultAccountInfoHandler()
O
method unsubscribeAllChannels()
method updateConnectionHeartbeat()
method waitForChannelResubscription(oldChannelIdSymbolMap)
method websocketCallback(message)
Execute the authentication and wait until the socket is ready
Disconnect the websocket
Open the connection
Find the channel for the given symbol
Handle a channel callback
Handle a command callback
Handle channel re-subscribe failed
Perform a reconnect
Re-subscribe the old ticker
Send a new API command
Setup the command callbacks
Setup the default info handler - can be replaced in onAuthenticationSuc...
Wait for unsubscription complete
Wait for the successful channel re-subscription
We received a websocket callback