Class Subscription

java.lang.Object
MessageProcessor
com.swiftmq.impl.mqtt.pubsub.Subscription

public class Subscription extends MessageProcessor
  • Constructor Details

  • Method Details

    • getTopicName

      public String getTopicName()
    • getStoreEntry

      public SubscriptionStoreEntry getStoreEntry()
    • fillRegistryUsage

      public void fillRegistryUsage(Entity usageRegistry)
    • fillConnectionUsage

      public void fillConnectionUsage(Entity usageConnection)
    • getMsgsReceived

      public int getMsgsReceived()
    • getTotalMsgsReceived

      public int getTotalMsgsReceived()
    • start

      public void start() throws Exception
      Throws:
      Exception
    • restart

      public void restart() throws Exception
      Throws:
      Exception
    • stop

      public void stop()
    • processMessage

      public void processMessage(MessageEntry messageEntry)
    • processException

      public void processException(Exception e)
    • isValid

      public boolean isValid()
    • close

      public void close()
    • close

      public void close(ActiveLogin activeLogin)