Module org.snmp4j
Package org.snmp4j

Class CommunityTarget

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Target

    public class CommunityTarget
    extends AbstractTarget
    A CommunityTarget represents SNMP target properties for community based message processing models (SNMPv1 and SNMPv2c).
    Version:
    1.1
    Author:
    Frank Fock
    See Also:
    Serialized Form
    • Constructor Detail

      • CommunityTarget

        public CommunityTarget()
        Default constructor.
      • CommunityTarget

        public CommunityTarget​(Address address,
                               OctetString community)
        Creates a fully specified community target.
        Parameters:
        address - the transport Address of the target.
        community - the community to be used for the target.