|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.snmp4j.AbstractTarget
org.snmp4j.CommunityTarget
public class CommunityTarget
A CommunityTarget represents SNMP target properties for
community based message processing models (SNMPv1 and SNMPv2c).
| Constructor Summary | |
|---|---|
CommunityTarget()
Default constructor. |
|
CommunityTarget(Address address,
OctetString community)
Creates a fully specified communtity target. |
|
| Method Summary | |
|---|---|
OctetString |
getCommunity()
Gets the community octet string. |
void |
setCommunity(OctetString community)
Sets the community octet sting. |
java.lang.String |
toString()
|
| Methods inherited from class org.snmp4j.AbstractTarget |
|---|
clone, getAddress, getMaxSizeRequestPDU, getRetries, getTimeout, getVersion, setAddress, setMaxSizeRequestPDU, setRetries, setTimeout, setVersion, toStringAbstractTarget |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CommunityTarget()
public CommunityTarget(Address address,
OctetString community)
address - the transport Address of the target.community - the community to be used for the target.| Method Detail |
|---|
public OctetString getCommunity()
OctetString instance, never null.public void setCommunity(OctetString community)
community - an OctetString instance which must not be
null.public java.lang.String toString()
toString in class AbstractTarget
|
Copyright 2003-2009 Frank Fock and Jochen Katz (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||