We have sample application programs which are available under the following directory <ProductHome>/examples/. Before running our sample application, please invoke the setenv.bat for windows /setenv.sh for linux which will set the classpath.
SNMP Manager applications are request generators and can be used to generate Get/Set/GetNext requests to the agents running on different hosts and get the response back from the agent.
SNMP Agents only will listen for requests(Get/GetNext/Set) from manager applications and on receiving, construct a response and send back to the manager.
We couldn't understand your requirement clearly, you are saying that you want to develop a manager application, but at same time adding that your application has to listen for request and respond back to SNMP requests, this is not clear, please elaborate your requirement in detail, so that we could help you better.
Our SNMP API product can better help you in developing a manager application that will generate requests with the given Object Identifiers, send to the agent and receive the responses back from the agent.
If you are interested in developing a manager application, we have apis to help in this, with two level of abstraction, 1) Low Level 2) High Level
We have example programs bundled along with the product, Please refer them to get idea on to develop applications,
Low level api examples are available in the below directory, <ProductHome>/examples/low_level_api_examples/snmpapps/
High level api examples are available in the below directory, <ProductHome>/examples/applications
If your requirement is to develop an agent that will listen for Get
requests (from any host) and respond back, the best choice for you is
Agent Toolkit Java Edition, please refer the below link for more details
on about this product http://www.webnms.com/javaagent/index.html