Package info.bitrich.xchangestream.serum
Class SerumSubscriptionManager
java.lang.Object
info.bitrich.xchangestream.serum.SerumSubscriptionManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
generateNewInflightRequest
(String channelName) getChannelName
(int subID) void
newSubscription
(int reqID, int subID) Modifies maps to add a new subscription confirmed by Solanavoid
removedSubscription
(int reqID, boolean status) Modifies maps to remove subscriptions we have unsubscribed from
-
Constructor Details
-
SerumSubscriptionManager
public SerumSubscriptionManager()
-
-
Method Details
-
newSubscription
public void newSubscription(int reqID, int subID) Modifies maps to add a new subscription confirmed by Solana- Parameters:
reqID
- used in subscriptionsubID
- assigned by Solana to track the channel
-
removedSubscription
public void removedSubscription(int reqID, boolean status) Modifies maps to remove subscriptions we have unsubscribed from- Parameters:
reqID
- used in subscriptionstatus
- of unsubscription
-
getChannelName
-
generateNewInflightRequest
-