Module org.snmp4j
Package org.snmp4j

Class CommunityTarget<A extends Address>

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

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

      • CommunityTarget

        public CommunityTarget()
        Default constructor.
      • CommunityTarget

        public CommunityTarget​(A 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.