Class Tl1Message

  • Direct Known Subclasses:
    Tl1AutonomousMessage

    public abstract class Tl1Message
    extends Object
    Abstraction for generic TL1 Messages. Must generic methods are used to populate OpenNMS Event fields.
    Version:
    $Id: $
    Author:
    David Hustace
    • Constructor Detail

      • Tl1Message

        public Tl1Message()
    • Method Detail

      • getTimestamp

        public Date getTimestamp()

        getTimestamp

        Returns:
        a Date object.
      • setTimestamp

        public void setTimestamp​(Date timestamp)

        setTimestamp

        Parameters:
        timestamp - a Date object.
      • getRawMessage

        public String getRawMessage()

        getRawMessage

        Returns:
        a String object.
      • setRawMessage

        public void setRawMessage​(String rawMessage)

        setRawMessage

        Parameters:
        rawMessage - a String object.
      • getHost

        public String getHost()

        getHost

        Returns:
        a String object.
      • setHost

        public void setHost​(String host)

        setHost

        Parameters:
        host - a String object.