|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.snmp.TWGRemoteMIB
This class will allow access to the MIB resources on the Director Server.
It allows looking up information for a particular OID, and compilation of a new MIB into the repository on the server.
TWGMIBItem2
Constructor Summary | |
---|---|
TWGRemoteMIB()
Construct An an instance of the remote services. |
Method Summary | |
---|---|
protected void |
finalize()
|
java.lang.String |
formatOID(java.lang.String oid)
This method will take a dotted decimal string and return the last readable equivalent based on the MIB respository. |
boolean |
MIBCompile(java.lang.String mibFileName)
Used to submit a MIB file on the host machine to the server for compilation. |
boolean |
MIBCompileAsync(java.lang.String mibFileName)
INTERNAL USE ONLY |
TWGMIBItem2 |
OIDLookup(java.lang.String OID)
Used to retrieve information about a particular OID from the repository on the server. |
TWGMIBItem2 |
trapLookup(java.lang.String trapOID)
Used to retrieve information about a particular trap from the repository on the server. |
TWGMIBItem2 |
typeLookup(java.lang.String typeName)
Used to retrieve information about a particular type from the repository on the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGRemoteMIB()
Method Detail |
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public TWGMIBItem2 OIDLookup(java.lang.String OID)
OID
- the OID of the attribute for which information is desired. This should
be in dotted decimal notation, for example: 1.2.3.4.5
public TWGMIBItem2 typeLookup(java.lang.String typeName)
typeName
- the type name of the attribute for which information is desired.
public TWGMIBItem2 trapLookup(java.lang.String trapOID)
trapOID
- the trap OID of the attribute for which information is desired. This should
be in dotted decimal notation, for example: 1.2.3.4.5
public java.lang.String formatOID(java.lang.String oid)
oid
- the dotted decimal string to translate
public boolean MIBCompile(java.lang.String mibFileName)
public boolean MIBCompileAsync(java.lang.String mibFileName)
Used to submit a MIB file on the host machine to the server for compilation. Once compiled, the information contained in the MIB will become available to all queries using OIDLookup(). The file MUST be accessible on the host machine, NOT the server. This Method differs from MIBCompile() in that it will return immediately, only providing the status of the transmition of the MIB file to the server, the compilation may not have completed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |