Package | Description |
---|---|
org.opennms.protocols.snmp |
Modifier and Type | Field and Description |
---|---|
private SnmpPeer |
SnmpSession.m_peer
The SNMP peer to whom this session will communicate
with.
|
private SnmpPeer |
SnmpPduPacket.m_peer
The peer of this packet, if we are agent
|
private SnmpPeer |
SnmpAgentSession.m_peer
Used to hold the community strings for validation, and the
agent port to listen on.
|
Modifier and Type | Method and Description |
---|---|
SnmpPeer |
SnmpSession.getPeer()
Gets the current peer object.
|
SnmpPeer |
SnmpPduPacket.getPeer()
Returns the current peer for this
packet.
|
Modifier and Type | Method and Description |
---|---|
private SnmpSession.ByteArrayInfo |
SnmpSession.encode(SnmpPeer peer,
SnmpPduPacket pdu)
This method is used to encode the passed protocol data unit
and return the encoding.
|
(package private) void |
SnmpPortal.send(SnmpPeer peer,
byte[] buf)
Transmits the passed buffer to the respective peer
agent.
|
(package private) void |
SnmpPortal.send(SnmpPeer peer,
byte[] buf,
int length)
Transmits the passed buffer to the respective peer
agent.
|
void |
SnmpTrapSession.send(SnmpPeer peer,
SnmpPduPacket pdu)
Transmits the specified SnmpRequest to the SnmpPeer defined.
|
void |
SnmpAgentSession.send(SnmpPeer peer,
SnmpPduPacket pdu)
Transmits the specified SnmpRequest to the SnmpPeer defined.
|
void |
SnmpTrapSession.send(SnmpPeer peer,
SnmpPduTrap trap)
Transmits the specified SnmpPduTrap to the SnmpPeer defined
The SnmpPduTrap is encoded using the peer AsnEncoder, as
defined by the SnmpParameters.
|
void |
SnmpSession.setPeer(SnmpPeer peer)
Sets the passed SnmpPeer object to the one
used for all new SNMP communications.
|
void |
SnmpPduPacket.setPeer(SnmpPeer peer)
Sets the Peer for the Packet
|
Constructor and Description |
---|
SnmpAgentSession(SnmpAgentHandler handler,
SnmpPeer peer)
The default SnmpAgentSession constructor that takes a packet
handler and SnmpPeer as parameter.
|
SnmpAgentSession(SnmpAgentHandler handler,
SnmpPeer peer,
int numOfThreads)
The SnmpAgentSession constructor that takes a packet
handler, SnmpPeer, numOfThreads as parameter.
|
SnmpAgentSession(SnmpAgentHandler handler,
SnmpPeer peer,
int numOfThreads,
int receiveBuffer,
int sendBuffer)
The SnmpAgentSession constructor that takes a packet
handler, SnmpPeer, numOfThreads as parameter.
|
SnmpPeer(SnmpPeer second)
Class copy constructor.
|
SnmpSession(SnmpPeer peer)
Constructs the SnmpSession with the specific SnmpPeer.
|
SnmpSession(SnmpPeer peer,
int threadPoolSize,
int receiveBuffer,
int sendBuffer) |
Generated by iurt on 2015.