Class MessageInfoPair


  • public class MessageInfoPair
    extends Object
    Holder of dual meta-information about a message. Both meta-information components must have the same message key, hence containing meta-information for two different representations of the same message.
    Since:
    0.6.0
    Version:
    $Id: MessageInfoPair.java 16154 2012-07-14 16:34:05Z colin $
    Author:
    tlerios@marketcetera.com
    • Constructor Detail

      • MessageInfoPair

        public MessageInfoPair​(MessageInfo srcInfo,
                               MessageInfo dstInfo)
        Creates a new meta-information holder from the given component holders. These holders both contain meta-information for two different representations of the same message.
        Parameters:
        srcInfo - The source meta-information.
        dstInfo - The destination meta-information.
    • Method Detail

      • getSrcInfo

        public MessageInfo getSrcInfo()
        Returns the receiver's source meta-information.
        Returns:
        The meta-information.
      • getDstInfo

        public MessageInfo getDstInfo()
        Returns the receiver's destination meta-information.
        Returns:
        The meta-information.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object