Class ChannelAddress

    • Constructor Detail

      • ChannelAddress

        public ChannelAddress()
        Default Constructor
      • ChannelAddress

        public ChannelAddress​(ChannelAddress channelAddressObj)
        Copy constructor
        Parameters:
        channelAddressObj - reference to the object to be copied
      • ChannelAddress

        public ChannelAddress​(String messagingEndpointUrl,
                              String channelId)
        Parameterized constructor
        Parameters:
        messagingEndpointUrl - Url of HTTP-based message receiver
        channelId - Channel identification
    • Method Detail

      • getMessagingEndpointUrl

        public String getMessagingEndpointUrl()
        Gets MessagingEndpointUrl
        Returns:
        Url of HTTP-based message receiver
      • setMessagingEndpointUrl

        public void setMessagingEndpointUrl​(String messagingEndpointUrl)
        Sets MessagingEndpointUrl
        Parameters:
        messagingEndpointUrl - Url of HTTP-based message receiver
      • getChannelId

        public String getChannelId()
        Gets ChannelId
        Returns:
        Channel identification
      • setChannelId

        public void setChannelId​(String channelId)
        Sets ChannelId
        Parameters:
        channelId - Channel identification
      • toString

        public String toString()
        Stringifies the class
        Overrides:
        toString in class Address
        Returns:
        stringified class content
      • equals

        public boolean equals​(Object obj)
        Check for equality
        Overrides:
        equals in class Address
        Parameters:
        obj - Reference to the object to compare to
        Returns:
        true, if objects are equal, false otherwise
      • hashCode

        public int hashCode()
        Calculate code for hashing based on member contents
        Overrides:
        hashCode in class Address
        Returns:
        The calculated hash code