Class ImmutableSnmp

  • All Implemented Interfaces:
    ISnmp

    public final class ImmutableSnmp
    extends java.lang.Object
    implements ISnmp
    An immutable implementation of 'ISnmp'.
    • Method Detail

      • immutableCopy

        public static ISnmp immutableCopy​(ISnmp snmp)
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface ISnmp
      • getTrapOID

        public java.lang.String getTrapOID()
        Specified by:
        getTrapOID in interface ISnmp
      • getIdtext

        public java.lang.String getIdtext()
        Specified by:
        getIdtext in interface ISnmp
      • getVersion

        public java.lang.String getVersion()
        Specified by:
        getVersion in interface ISnmp
      • getSpecific

        public java.lang.Integer getSpecific()
        Specified by:
        getSpecific in interface ISnmp
      • getGeneric

        public java.lang.Integer getGeneric()
        Specified by:
        getGeneric in interface ISnmp
      • getCommunity

        public java.lang.String getCommunity()
        Specified by:
        getCommunity in interface ISnmp
      • getTimeStamp

        public java.lang.Long getTimeStamp()
        Specified by:
        getTimeStamp in interface ISnmp
      • hasGeneric

        public boolean hasGeneric()
        Specified by:
        hasGeneric in interface ISnmp
      • hasSpecific

        public boolean hasSpecific()
        Specified by:
        hasSpecific in interface ISnmp
      • hasTimeStamp

        public boolean hasTimeStamp()
        Specified by:
        hasTimeStamp in interface ISnmp
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object