Module org.snmp4j

Class SnmpUriResponse


  • public class SnmpUriResponse
    extends java.lang.Object
    The SnmpUriResponse contains the data returned by a SNMP URI operation. See SnmpURI for details.
    Since:
    2.1
    Author:
    Frank Fock
    • Constructor Detail

      • SnmpUriResponse

        public SnmpUriResponse​(java.util.List<VariableBinding[]> data)
      • SnmpUriResponse

        public SnmpUriResponse​(SnmpUriResponse.Type responseType,
                               java.lang.String errorMessage)
      • SnmpUriResponse

        public SnmpUriResponse​(int errorStatus)
      • SnmpUriResponse

        public SnmpUriResponse​(java.util.List<VariableBinding[]> vbs,
                               int errorStatus)
    • Method Detail

      • getErrorStatus

        public int getErrorStatus()
      • getErrorMessage

        public java.lang.String getErrorMessage()
      • toString

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