Class TrapDTO

  • All Implemented Interfaces:
    Message

    public class TrapDTO
    extends java.lang.Object
    implements Message
    • Constructor Detail

      • TrapDTO

        public TrapDTO()
    • Method Detail

      • setAgentAddress

        public void setAgentAddress​(java.net.InetAddress agentAddress)
      • getAgentAddress

        public java.net.InetAddress getAgentAddress()
      • setCommunity

        public void setCommunity​(java.lang.String community)
      • getCommunity

        public java.lang.String getCommunity()
      • setVersion

        public void setVersion​(java.lang.String version)
      • getVersion

        public java.lang.String getVersion()
      • setTimestamp

        public void setTimestamp​(long timestamp)
      • getTimestamp

        public long getTimestamp()
      • setPduLength

        public void setPduLength​(int pduLength)
      • getPduLength

        public int getPduLength()
      • setCreationTime

        public void setCreationTime​(long creationTime)
      • getCreationTime

        public long getCreationTime()
      • setTrapIdentity

        public void setTrapIdentity​(TrapIdentityDTO trapIdentity)
      • getResults

        public java.util.List<SnmpResult> getResults()
      • getRawMessage

        public byte[] getRawMessage()
      • setRawMessage

        public void setRawMessage​(byte[] rawMessage)
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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