HOME

com.ireasoning.protocol.snmp
Class HostValue

java.lang.Object
  extended by com.ireasoning.protocol.snmp.HostValue
All Implemented Interfaces:
java.io.Serializable

public class HostValue
extends java.lang.Object
implements java.io.Serializable

This class is a data structure storing host name and value of SNMP request

See Also:
Serialized Form

Constructor Summary
HostValue(java.net.InetAddress addr, SnmpDataType value)
           
 
Method Summary
 java.net.InetAddress getAddress()
          Returns the IP address
 SnmpDataType getValue()
          Returns the value
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostValue

public HostValue(java.net.InetAddress addr,
                 SnmpDataType value)
Method Detail

getAddress

public java.net.InetAddress getAddress()
Returns the IP address


getValue

public SnmpDataType getValue()
Returns the value


toString

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

HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.