Interface SnmpContextFace

All Superinterfaces:
SnmpContextBasisFace
All Known Subinterfaces:
SnmpContextv2cFace
All Known Implementing Classes:
PassiveSnmpContext, PassiveSnmpContextv2c, SnmpContext, SnmpContextPool, SnmpContextv2c, SnmpContextv2cPool

public interface SnmpContextFace extends SnmpContextBasisFace
This interface contains the (basic) SNMP context interface that is needed by every PDU to send a SNMP v1 request. The context also provides functionality to receive incoming PDUs.
Version:
$Revision: 3.13 $ $Date: 2006/02/09 14:19:05 $
Author:
Tim Panton
See Also:
  • Field Details

  • Method Details

    • getCommunity

      String getCommunity()
      Returns the community name.
    • setCommunity

      void setCommunity(String newCommunity)
      Sets the community name. This community name will be used for all PDUs sent with this context. The default community name is public.
      See Also: