SNMP Stack 4_12

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

Field Summary
static java.lang.String version_id
           
 
Fields inherited from interface uk.co.westhawk.snmp.stack.SnmpContextBasisFace
DEFAULT_PORT, KVM_SOCKET, MAXPDU, MSS, NETSCAPE_SOCKET, STANDARD_SOCKET
 
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
 

Field Detail

version_id

public static final java.lang.String version_id
Method Detail

getCommunity

public java.lang.String getCommunity()
Returns the community name.

setCommunity

public void setCommunity(java.lang.String newCommunity)
Sets the community name.

SNMP Stack 4_12