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

Constructor Summary
_SnmpTargetStub(org.omg.CORBA.portable.Delegate d)
           
 
Method Summary
 java.lang.String[] _ids()
           
 int addObjectID(java.lang.String oid)
           
 void addResultListener(ResultListener l)
           
 void create_v3_tables()
          v3 only
 boolean getAttemptComplete()
           
 boolean getAttemptPartial()
           
 java.lang.String getAuthPassword()
          v3 only
 int getAuthProtocol()
          v3 only
 java.lang.String getCommunity()
           
 java.lang.String getContextID()
          v3 only
 java.lang.String getContextName()
          v3 only
 boolean getDebug()
           
 int getErrorCode()
           
 java.lang.String getErrorString()
           
 int getMaxNumRows()
           
 int getMaxRepetitions()
          v2c and v3 only
 java.lang.String getMibModules()
           
 java.lang.String getName()
           
 int getNonRepeaters()
          v2c and v3 only
 java.lang.String getObjectID(int index)
           
 java.lang.String[] getObjectIDList()
           
 java.lang.String getPrincipal()
          v3 only
 java.lang.String getPrivPassword()
          v3 only
 int getRetries()
           
 int getSecurityModel()
          v3 only
 boolean getSendTimeoutEvents()
           
 int getSnmpVersion()
          v2c and v3 only
 java.lang.String getTargetHost()
           
 int getTargetPort()
           
 int getTimeout()
           
 int getVarBindCount()
           
 java.lang.String getWriteCommunity()
           
 void initSecurityProvider()
          v3 only
 boolean isSupportedSecurityModel(int securityModel)
          v3 only
 void loadMibs(java.lang.String mibs)
           
 void removeResultListener(ResultListener l)
           
 void setAttemptComplete(boolean completeState)
           
 void setAttemptPartial(boolean partialState)
           
 void setAuthPassword(java.lang.String password)
          v3 only
 void setAuthProtocol(int protocol)
          v3 only
 void setCommunity(java.lang.String community)
           
 void setContextID(java.lang.String ctxtID)
          v3 only
 void setContextName(java.lang.String cName)
          v3 only
 void setDebug(boolean debug)
           
 void setMaxNumRows(int maxRows)
           
 void setMaxRepetitions(int maxVal)
          v2c and v3 only
 void setMibModules(java.lang.String mibs)
           
 void setNonRepeaters(int maxVal)
          v2c and v3 only
 void setObjectID(java.lang.String oid)
           
 void setObjectIDAtIndex(int index, java.lang.String oid)
           
 void setObjectIDList(java.lang.String[] oidList)
           
 void setPrincipal(java.lang.String s)
          v3 only
 void setPrivPassword(java.lang.String password)
          v3 only
 void setRetries(int retryVal)
           
 void setSecurityModel(int securityModel)
          v3 only
 void setSendTimeoutEvents(boolean flag)
           
 void setSnmpVersion(int version)
          v2c and v3 only
 void setTargetHost(java.lang.String host)
           
 void setTargetPort(int port)
           
 void setTimeout(int timeoutval)
           
 void setVarBindCount(int count)
           
 void setWriteCommunity(java.lang.String community)
           
 java.lang.String snmpGet()
           
 java.lang.String[][] snmpGetAllList()
           
 java.lang.String[][] snmpGetBulkList()
          v2c and v3 only
 java.lang.String[] snmpGetList()
           
 java.lang.String snmpGetNext()
           
 java.lang.String[] snmpGetNextList()
           
 void snmpSendTrap(java.lang.String enterprise, java.lang.String agenthost, int genericType, int specificType, int uptime, java.lang.String[] values)
           
 java.lang.String snmpSet(java.lang.String val)
           
 java.lang.String[] snmpSetList(java.lang.String[] val)
           
 java.lang.String snmpSetWithType(java.lang.String val, byte type)
           
 
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
 

Constructor Detail

_SnmpTargetStub

public _SnmpTargetStub(org.omg.CORBA.portable.Delegate d)
Method Detail

_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()
v2c and v3 only

Specified by:
getMaxRepetitions in interface SnmpTarget

setMaxRepetitions

public void setMaxRepetitions(int maxVal)
v2c and v3 only

Specified by:
setMaxRepetitions in interface SnmpTarget

getNonRepeaters

public int getNonRepeaters()
v2c and v3 only

Specified by:
getNonRepeaters in interface SnmpTarget

setNonRepeaters

public void setNonRepeaters(int maxVal)
v2c and v3 only

Specified by:
setNonRepeaters in interface SnmpTarget

getSnmpVersion

public int getSnmpVersion()
v2c and v3 only

Specified by:
getSnmpVersion in interface SnmpTarget

setSnmpVersion

public void setSnmpVersion(int version)
v2c and v3 only

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()
v2c and v3 only

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()
v3 only

Specified by:
create_v3_tables in interface SnmpTarget

getContextName

public java.lang.String getContextName()
v3 only

Specified by:
getContextName in interface SnmpTarget

setContextName

public void setContextName(java.lang.String cName)
v3 only

Specified by:
setContextName in interface SnmpTarget

getContextID

public java.lang.String getContextID()
v3 only

Specified by:
getContextID in interface SnmpTarget

setContextID

public void setContextID(java.lang.String ctxtID)
v3 only

Specified by:
setContextID in interface SnmpTarget

getPrincipal

public java.lang.String getPrincipal()
v3 only

Specified by:
getPrincipal in interface SnmpTarget

setPrincipal

public void setPrincipal(java.lang.String s)
v3 only

Specified by:
setPrincipal in interface SnmpTarget

getAuthProtocol

public int getAuthProtocol()
v3 only

Specified by:
getAuthProtocol in interface SnmpTarget

setAuthProtocol

public void setAuthProtocol(int protocol)
v3 only

Specified by:
setAuthProtocol in interface SnmpTarget

getAuthPassword

public java.lang.String getAuthPassword()
v3 only

Specified by:
getAuthPassword in interface SnmpTarget

setAuthPassword

public void setAuthPassword(java.lang.String password)
v3 only

Specified by:
setAuthPassword in interface SnmpTarget

getPrivPassword

public java.lang.String getPrivPassword()
v3 only

Specified by:
getPrivPassword in interface SnmpTarget

setPrivPassword

public void setPrivPassword(java.lang.String password)
v3 only

Specified by:
setPrivPassword in interface SnmpTarget

initSecurityProvider

public void initSecurityProvider()
                          throws SnmpException
v3 only

Specified by:
initSecurityProvider in interface SnmpTarget
SnmpException

getSecurityModel

public int getSecurityModel()
v3 only

Specified by:
getSecurityModel in interface SnmpTarget

setSecurityModel

public void setSecurityModel(int securityModel)
v3 only

Specified by:
setSecurityModel in interface SnmpTarget

isSupportedSecurityModel

public boolean isSupportedSecurityModel(int securityModel)
v3 only

Specified by:
isSupportedSecurityModel in interface SnmpTarget


Copyright (c)2010 ZOHO Corp., All Rights Reserved