uk.co.westhawk.snmp.stack
Interface SnmpContextFace
- All Superinterfaces:
- SnmpContextBasisFace
- All Known Subinterfaces:
- SnmpContextv2cFace
- All Known Implementing Classes:
- SnmpContext, SnmpContextPool
- 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 traps.
- Version:
- $Revision: 3.10 $ $Date: 2002/10/10 15:13:57 $
- Author:
- Tim Panton
- See Also:
SnmpContext
,
SnmpContextv2c
,
SnmpContextv3
Method Summary |
java.lang.String |
getCommunity()
Returns the community name. |
void |
setCommunity(java.lang.String newCommunity)
Sets the community name. |
Methods inherited from interface uk.co.westhawk.snmp.stack.SnmpContextBasisFace |
addPdu, addTrapListener, destroy, encodePacket, getHost, getPort, getTypeSocket, getVersion, processIncomingTrap, removePdu, removeTrapListener, sendPacket |
version_id
public static final java.lang.String version_id
getCommunity
public java.lang.String getCommunity()
- Returns the community name.
setCommunity
public void setCommunity(java.lang.String newCommunity)
- Sets the community name.