Class TemporaryTopic

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
      • cnx

        private Connection cnx
        The connection the topic belongs to, null if not known.
    • Constructor Detail

      • TemporaryTopic

        public TemporaryTopic()
      • TemporaryTopic

        public TemporaryTopic​(String agentId,
                              Connection cnx)
        Constructs a temporary topic.
        Parameters:
        agentId - Identifier of the topic agent.
        cnx - The connection the queue belongs to, null if not known.
    • Method Detail

      • toString

        public String toString()
        Returns a String image of the topic.
        Specified by:
        toString in interface Topic
        Overrides:
        toString in class Topic
        Returns:
        A provider-specific identity values for this topic.
      • getCnx

        Connection getCnx()
        Returns the connection this temporary topic belongs to, null if not known.