Class SubscribeHolder

java.lang.Object
io.github.lunasaw.sip.common.subscribe.SubscribeHolder

@Component public class SubscribeHolder extends Object
Author:
lin
  • Constructor Details

    • SubscribeHolder

      public SubscribeHolder()
  • Method Details

    • putCatalogSubscribe

      public void putCatalogSubscribe(String userId, SubscribeInfo subscribeInfo)
    • getCatalogSubscribe

      public SubscribeInfo getCatalogSubscribe(String platformId)
    • removeCatalogSubscribe

      public void removeCatalogSubscribe(String sipId)
    • putMobilePositionSubscribe

      public void putMobilePositionSubscribe(String userId, String prefixKey, SubscribeTask task, SubscribeInfo subscribeInfo)
    • getMobilePositionSubscribe

      public SubscribeInfo getMobilePositionSubscribe(String userId)
    • removeMobilePositionSubscribe

      public void removeMobilePositionSubscribe(String userId, String prefixKey)
    • getAllCatalogSubscribePlatform

      public List<String> getAllCatalogSubscribePlatform()
    • removeAllSubscribe

      public void removeAllSubscribe(String userId, String prefixKey)