com.adventnet.snmp.corba
Class _SnmpTargetStub
java.lang.Object
|
+--org.omg.CORBA.portable.ObjectImpl
|
+--com.adventnet.snmp.corba._SnmpTargetStub
- All Implemented Interfaces:
- org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, java.io.Serializable, SnmpTarget
- public class _SnmpTargetStub
- extends org.omg.CORBA.portable.ObjectImpl
- implements SnmpTarget
- See Also:
- Serialized Form
| Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
_SnmpTargetStub
public _SnmpTargetStub(org.omg.CORBA.portable.Delegate d)
_ids
public java.lang.String[] _ids()
- Specified by:
_ids in class org.omg.CORBA.portable.ObjectImpl
getName
public java.lang.String getName()
- Specified by:
getName in interface SnmpTarget
loadMibs
public void loadMibs(java.lang.String mibs)
throws SnmpException
- Specified by:
loadMibs in interface SnmpTarget
SnmpException
getDebug
public boolean getDebug()
- Specified by:
getDebug in interface SnmpTarget
getErrorCode
public int getErrorCode()
- Specified by:
getErrorCode in interface SnmpTarget
setAttemptComplete
public void setAttemptComplete(boolean completeState)
- Specified by:
setAttemptComplete in interface SnmpTarget
setVarBindCount
public void setVarBindCount(int count)
- Specified by:
setVarBindCount in interface SnmpTarget
getAttemptComplete
public boolean getAttemptComplete()
- Specified by:
getAttemptComplete in interface SnmpTarget
getVarBindCount
public int getVarBindCount()
- Specified by:
getVarBindCount in interface SnmpTarget
snmpGet
public java.lang.String snmpGet()
- Specified by:
snmpGet in interface SnmpTarget
snmpGetList
public java.lang.String[] snmpGetList()
- Specified by:
snmpGetList in interface SnmpTarget
snmpGetNext
public java.lang.String snmpGetNext()
- Specified by:
snmpGetNext in interface SnmpTarget
snmpGetNextList
public java.lang.String[] snmpGetNextList()
- Specified by:
snmpGetNextList in interface SnmpTarget
snmpSet
public java.lang.String snmpSet(java.lang.String val)
throws SnmpException
- Specified by:
snmpSet in interface SnmpTarget
SnmpException
snmpSetWithType
public java.lang.String snmpSetWithType(java.lang.String val,
byte type)
throws SnmpException
- Specified by:
snmpSetWithType in interface SnmpTarget
SnmpException
snmpSetList
public java.lang.String[] snmpSetList(java.lang.String[] val)
throws SnmpException
- Specified by:
snmpSetList in interface SnmpTarget
SnmpException
snmpSendTrap
public void snmpSendTrap(java.lang.String enterprise,
java.lang.String agenthost,
int genericType,
int specificType,
int uptime,
java.lang.String[] values)
throws SnmpException
- Specified by:
snmpSendTrap in interface SnmpTarget
SnmpException
addObjectID
public int addObjectID(java.lang.String oid)
- Specified by:
addObjectID in interface SnmpTarget
getObjectID
public java.lang.String getObjectID(int index)
- Specified by:
getObjectID in interface SnmpTarget
setObjectID
public void setObjectID(java.lang.String oid)
- Specified by:
setObjectID in interface SnmpTarget
getObjectIDList
public java.lang.String[] getObjectIDList()
- Specified by:
getObjectIDList in interface SnmpTarget
setObjectIDAtIndex
public void setObjectIDAtIndex(int index,
java.lang.String oid)
- Specified by:
setObjectIDAtIndex in interface SnmpTarget
setObjectIDList
public void setObjectIDList(java.lang.String[] oidList)
- Specified by:
setObjectIDList in interface SnmpTarget
setDebug
public void setDebug(boolean debug)
- Specified by:
setDebug in interface SnmpTarget
setMibModules
public void setMibModules(java.lang.String mibs)
- Specified by:
setMibModules in interface SnmpTarget
getMibModules
public java.lang.String getMibModules()
- Specified by:
getMibModules in interface SnmpTarget
getTargetHost
public java.lang.String getTargetHost()
- Specified by:
getTargetHost in interface SnmpTarget
setTargetHost
public void setTargetHost(java.lang.String host)
- Specified by:
setTargetHost in interface SnmpTarget
getTargetPort
public int getTargetPort()
- Specified by:
getTargetPort in interface SnmpTarget
setTargetPort
public void setTargetPort(int port)
- Specified by:
setTargetPort in interface SnmpTarget
getCommunity
public java.lang.String getCommunity()
- Specified by:
getCommunity in interface SnmpTarget
setCommunity
public void setCommunity(java.lang.String community)
- Specified by:
setCommunity in interface SnmpTarget
getWriteCommunity
public java.lang.String getWriteCommunity()
- Specified by:
getWriteCommunity in interface SnmpTarget
setWriteCommunity
public void setWriteCommunity(java.lang.String community)
- Specified by:
setWriteCommunity in interface SnmpTarget
getTimeout
public int getTimeout()
- Specified by:
getTimeout in interface SnmpTarget
setTimeout
public void setTimeout(int timeoutval)
- Specified by:
setTimeout in interface SnmpTarget
getRetries
public int getRetries()
- Specified by:
getRetries in interface SnmpTarget
setRetries
public void setRetries(int retryVal)
- Specified by:
setRetries in interface SnmpTarget
getMaxRepetitions
public int getMaxRepetitions()
- Specified by:
getMaxRepetitions in interface SnmpTarget
setMaxRepetitions
public void setMaxRepetitions(int maxVal)
- Specified by:
setMaxRepetitions in interface SnmpTarget
getNonRepeaters
public int getNonRepeaters()
- Specified by:
getNonRepeaters in interface SnmpTarget
setNonRepeaters
public void setNonRepeaters(int maxVal)
- Specified by:
setNonRepeaters in interface SnmpTarget
getSnmpVersion
public int getSnmpVersion()
- Specified by:
getSnmpVersion in interface SnmpTarget
setSnmpVersion
public void setSnmpVersion(int version)
- Specified by:
setSnmpVersion in interface SnmpTarget
getErrorString
public java.lang.String getErrorString()
- Specified by:
getErrorString in interface SnmpTarget
getAttemptPartial
public boolean getAttemptPartial()
- Specified by:
getAttemptPartial in interface SnmpTarget
setAttemptPartial
public void setAttemptPartial(boolean partialState)
- Specified by:
setAttemptPartial in interface SnmpTarget
getSendTimeoutEvents
public boolean getSendTimeoutEvents()
- Specified by:
getSendTimeoutEvents in interface SnmpTarget
setSendTimeoutEvents
public void setSendTimeoutEvents(boolean flag)
- Specified by:
setSendTimeoutEvents in interface SnmpTarget
addResultListener
public void addResultListener(ResultListener l)
- Specified by:
addResultListener in interface SnmpTarget
removeResultListener
public void removeResultListener(ResultListener l)
- Specified by:
removeResultListener in interface SnmpTarget
snmpGetAllList
public java.lang.String[][] snmpGetAllList()
- Specified by:
snmpGetAllList in interface SnmpTarget
snmpGetBulkList
public java.lang.String[][] snmpGetBulkList()
- Specified by:
snmpGetBulkList in interface SnmpTarget
getMaxNumRows
public int getMaxNumRows()
- Specified by:
getMaxNumRows in interface SnmpTarget
setMaxNumRows
public void setMaxNumRows(int maxRows)
- Specified by:
setMaxNumRows in interface SnmpTarget
create_v3_tables
public void create_v3_tables()
- Specified by:
create_v3_tables in interface SnmpTarget
getContextName
public java.lang.String getContextName()
- Specified by:
getContextName in interface SnmpTarget
setContextName
public void setContextName(java.lang.String cName)
- Specified by:
setContextName in interface SnmpTarget
getContextID
public java.lang.String getContextID()
- Specified by:
getContextID in interface SnmpTarget
setContextID
public void setContextID(java.lang.String ctxtID)
- Specified by:
setContextID in interface SnmpTarget
getPrincipal
public java.lang.String getPrincipal()
- Specified by:
getPrincipal in interface SnmpTarget
setPrincipal
public void setPrincipal(java.lang.String s)
- Specified by:
setPrincipal in interface SnmpTarget
getAuthProtocol
public int getAuthProtocol()
- Specified by:
getAuthProtocol in interface SnmpTarget
setAuthProtocol
public void setAuthProtocol(int protocol)
- Specified by:
setAuthProtocol in interface SnmpTarget
getAuthPassword
public java.lang.String getAuthPassword()
- Specified by:
getAuthPassword in interface SnmpTarget
setAuthPassword
public void setAuthPassword(java.lang.String password)
- Specified by:
setAuthPassword in interface SnmpTarget
getPrivPassword
public java.lang.String getPrivPassword()
- Specified by:
getPrivPassword in interface SnmpTarget
setPrivPassword
public void setPrivPassword(java.lang.String password)
- Specified by:
setPrivPassword in interface SnmpTarget
initSecurityProvider
public void initSecurityProvider()
throws SnmpException
- Specified by:
initSecurityProvider in interface SnmpTarget
SnmpException
getSecurityModel
public int getSecurityModel()
- Specified by:
getSecurityModel in interface SnmpTarget
setSecurityModel
public void setSecurityModel(int securityModel)
- Specified by:
setSecurityModel in interface SnmpTarget
isSupportedSecurityModel
public boolean isSupportedSecurityModel(int securityModel)
- Specified by:
isSupportedSecurityModel in interface SnmpTarget
Copyright (c)2010 ZOHO Corp., All Rights Reserved