public class RequestPduReceivedSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
version_id |
Constructor and Description |
---|
RequestPduReceivedSupport(java.lang.Object src)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRequestPduListener(RequestPduListener listener)
Adds the specified pdu listener to receive pdus.
|
void |
empty()
Removes all the listeners.
|
void |
fireRequestPduReceived(Pdu pdu,
int hostPort)
Fires a decoded pdu event.
|
int |
getListenerCount()
Returns the number of listeners.
|
void |
removeRequestPduListener(RequestPduListener listener)
Removes the specified pdu listener.
|
public static final java.lang.String version_id
public RequestPduReceivedSupport(java.lang.Object src)
src
- The source (SnmpContext) of the pdu events when they are fired.public void empty()
public int getListenerCount()
public void addRequestPduListener(RequestPduListener listener)
public void removeRequestPduListener(RequestPduListener listener)
public void fireRequestPduReceived(Pdu pdu, int hostPort)
pdu
- The decoded pdu pdu.