All Packages Class Hierarchy This Package Previous Next Index
Class ss98.snmp.ss98Host
java.lang.Object
|
+----ss98.snmp.ss98Host
- public class ss98Host
- extends Object
- implements Serializable
Version $Id: ss98Host.java,v 1.5 1999/05/06 07:19:14 jeremiah Exp $
This is where all the information on a particular host is gathered
as well as saved. Hosts are stored and polled by snmpControl.
$Log: ss98Host.java,v $
Revision 1.5 1999/05/06 07:19:14 jeremiah
Finalized for moment
Revision 1.4 1999/05/05 20:18:13 jeremiah
added getPercent() and tied in poll()
Revision 1.3 1999/05/05 20:08:59 jeremiah
Changed update to reflect change in OID.update
Revision 1.2 1999/04/30 05:59:27 jeremiah
Need to change code to reeflect single bound for each oid
-
community
-
-
hostname
-
-
location
-
-
lowerBound
-
-
lowerLimit
-
-
oid
-
-
oids
-
-
percent
-
-
port
-
-
session
-
-
translations
-
-
upperBound
-
-
upperLimit
-
-
ss98Host()
- generic creation
-
ss98Host(String, String)
- make a new instance passing the hastname, and the community
-
addOID(String, String, int, int)
- add an oid to our poll list
-
getCommunity()
-
-
getHostname()
-
-
getLowerBound()
-
-
getLowerLimit()
-
-
getOIDs()
-
-
getPercent()
-
-
getTranslations()
-
-
getUpperBound()
-
-
getUpperLimit()
-
-
poll()
- returns a vector of all values we care about.
-
setCommunity(String)
- set the community that will be queried
-
setHostname(String)
-
-
setLowerBound(int)
-
-
setLowerLimit(int)
-
-
setOIDs(Vector)
-
-
setPort(int)
- set the port of the remote snmp server
-
setTranslations(Vector)
-
-
setUpperBound(int)
-
-
setUpperLimit(int)
-
community
private String community
hostname
private String hostname
port
private int port
translations
private Vector translations
oids
private Vector oids
oid
private String oid[]
session
private transient SnmpSession session
upperBound
private int upperBound
lowerBound
private int lowerBound
upperLimit
private int upperLimit
lowerLimit
private int lowerLimit
percent
private float percent
location
public Rectangle location
ss98Host
public ss98Host()
- generic creation
ss98Host
public ss98Host(String hostname,
String community)
- make a new instance passing the hastname, and the community
getOIDs
public Vector getOIDs()
getTranslations
public Vector getTranslations()
setOIDs
public void setOIDs(Vector oids)
setTranslations
public void setTranslations(Vector translations)
getHostname
public String getHostname()
getCommunity
public String getCommunity()
getUpperBound
public int getUpperBound()
getLowerBound
public int getLowerBound()
getUpperLimit
public int getUpperLimit()
getLowerLimit
public int getLowerLimit()
getPercent
public float getPercent()
setUpperBound
public void setUpperBound(int upperBound)
setLowerBound
public void setLowerBound(int lowerBound)
setUpperLimit
public void setUpperLimit(int upperLimit)
setLowerLimit
public void setLowerLimit(int lowerLimit)
setPort
public void setPort(int port)
- set the port of the remote snmp server
setCommunity
public void setCommunity(String community)
- set the community that will be queried
setHostname
public void setHostname(String hostname)
poll
public void poll()
- returns a vector of all values we care about. oids only at the moment
addOID
public void addOID(String oid,
String name,
int upperBound,
int lowerBound)
- add an oid to our poll list
All Packages Class Hierarchy This Package Previous Next Index