@Test public void testInformV2c() throws Exception { CommunityTarget target = (CommunityTarget) communityTarget.clone(); target.setVersion(SnmpConstants.version2c); PDU pdu = new PDU(); pdu.setType(PDU.INFORM); addTestVariableBindings(pdu, true, false, target.getVersion()); pdu.setRequestID(new Integer32(snmpCommandGenerator.getNextRequestID())); syncRequestTest(target, pdu); }
public int getNextRequestID() { return messageDispatcher.getNextRequestID(); }
Snmp implements Session, CommandResponder { public int getNextRequestID() { return messageDispatcher.getNextRequestID(); } }
Snmp implements Session, CommandResponder { public int getNextRequestID() { return messageDispatcher.getNextRequestID(); } Snmp();  Snmp(TransportMapping<? extends Address> transportMapping);  Snmp(MessageDispatcher messageDispatcher,
              TransportMapping<? extends Address> transportMapping);  Snmp(MessageDispatcher messageDispatcher); }
Snmp implements Session, CommandResponder { public int getNextRequestID() { return messageDispatcher.getNextRequestID(); } Snmp();  Snmp(TransportMapping<? extends Address> transportMapping);  Snmp(MessageDispatcher messageDispatcher,
              TransportMapping<? extends Address> transportMapping);  Snmp(MessageDispatcher messageDispatcher); MessageDispatcher getMessageDispatcher(); void setMessageDispatcher(MessageDispatcher messageDispatcher); void addTransportMapping(TransportMapping<? extends Address> transportMapping); void removeTransportMapping(TransportMapping<? extends Address> transportMapping); synchronized boolean addNotificationListener(TransportMapping transportMapping,
                                                      Address listenAddress,
                                                      CommandResponder listener); synchronized boolean addNotificationListener(Address listenAddress,
                                                      CommandResponder listener); synchronized boolean removeNotificationListener(Address listenAddress); TransportMapping getNotificationListenerTM(Address listenAddress); void listen(); int getNextRequestID(); void close(); ResponseEvent get(PDU pdu, Target target); void get(PDU pdu, Target target, Object userHandle,
                  ResponseListener listener); ResponseEvent getNext(PDU pdu, Target target); void getNext(PDU pdu, Target target, Object userHandle,
                      ResponseListener listener); ResponseEvent getBulk(PDU pdu, Target target); void getBulk(PDU pdu, Target target, Object userHandle,
                      ResponseListener listener); ResponseEvent inform(PDU pdu, Target target); void inform(PDU pdu, Target target, Object userHandle,
                     ResponseListener listener); void trap(PDUv1 pdu, Target target); void notify(PDU pdu, Target target); ResponseEvent set(PDU pdu, Target target); void set(PDU pdu, Target target, Object userHandle,
                  ResponseListener listener); ResponseEvent send(PDU pdu, Target target); ResponseEvent send(PDU pdu, Target target,
                            TransportMapping transport); void send(PDU pdu, Target target,
                   Object userHandle,
                   ResponseListener listener); void send(PDU pdu, Target target,
                   TransportMapping transport,
                   Object userHandle,
                   ResponseListener listener); void cancel(PDU request, ResponseListener listener); void setLocalEngine(byte[] engineID,
                             int engineBoots,
                             int engineTime); byte[] getLocalEngineID(); byte[] discoverAuthoritativeEngineID(Address address, long timeout); USM getUSM(); MessageProcessingModel getMessageProcessingModel(int
      messageProcessingModel); void processPdu(CommandResponderEvent event); boolean isContextEngineIdDiscoveryDisabled(); void setContextEngineIdDiscoveryDisabled(boolean contextEngineIdDiscoveryDisabled); synchronized void removeCommandResponder(CommandResponder listener); synchronized void addCommandResponder(CommandResponder listener); TimeoutModel getTimeoutModel(); ReportHandler getReportHandler(); CounterSupport getCounterSupport(); void setCounterSupport(CounterSupport counterSupport); void setTimeoutModel(TimeoutModel timeoutModel); void setReportHandler(ReportHandler reportHandler); int getPendingSyncRequestCount(); int getPendingAsyncRequestCount(); }
Snmp implements Session, CommandResponder { public int getNextRequestID() { return messageDispatcher.getNextRequestID(); } Snmp();  Snmp(TransportMapping<? extends Address> transportMapping);  Snmp(MessageDispatcher messageDispatcher,
              TransportMapping<? extends Address> transportMapping);  Snmp(MessageDispatcher messageDispatcher); MessageDispatcher getMessageDispatcher(); void setMessageDispatcher(MessageDispatcher messageDispatcher); void addTransportMapping(TransportMapping<? extends Address> transportMapping); void removeTransportMapping(TransportMapping<? extends Address> transportMapping); synchronized boolean addNotificationListener(TransportMapping transportMapping,
                                                      Address listenAddress,
                                                      CommandResponder listener); synchronized boolean addNotificationListener(Address listenAddress,
                                                      CommandResponder listener); synchronized boolean removeNotificationListener(Address listenAddress); TransportMapping getNotificationListenerTM(Address listenAddress); void listen(); int getNextRequestID(); void close(); ResponseEvent get(PDU pdu, Target target); void get(PDU pdu, Target target, Object userHandle,
                  ResponseListener listener); ResponseEvent getNext(PDU pdu, Target target); void getNext(PDU pdu, Target target, Object userHandle,
                      ResponseListener listener); ResponseEvent getBulk(PDU pdu, Target target); void getBulk(PDU pdu, Target target, Object userHandle,
                      ResponseListener listener); ResponseEvent inform(PDU pdu, Target target); void inform(PDU pdu, Target target, Object userHandle,
                     ResponseListener listener); void trap(PDUv1 pdu, Target target); void notify(PDU pdu, Target target); ResponseEvent set(PDU pdu, Target target); void set(PDU pdu, Target target, Object userHandle,
                  ResponseListener listener); ResponseEvent send(PDU pdu, Target target); ResponseEvent send(PDU pdu, Target target,
                            TransportMapping transport); void send(PDU pdu, Target target,
                   Object userHandle,
                   ResponseListener listener); void send(PDU pdu, Target target,
                   TransportMapping transport,
                   Object userHandle,
                   ResponseListener listener); void cancel(PDU request, ResponseListener listener); void setLocalEngine(byte[] engineID,
                             int engineBoots,
                             int engineTime); byte[] getLocalEngineID(); byte[] discoverAuthoritativeEngineID(Address address, long timeout); USM getUSM(); MessageProcessingModel getMessageProcessingModel(int
      messageProcessingModel); void processPdu(CommandResponderEvent event); boolean isContextEngineIdDiscoveryDisabled(); void setContextEngineIdDiscoveryDisabled(boolean contextEngineIdDiscoveryDisabled); synchronized void removeCommandResponder(CommandResponder listener); synchronized void addCommandResponder(CommandResponder listener); TimeoutModel getTimeoutModel(); ReportHandler getReportHandler(); CounterSupport getCounterSupport(); void setCounterSupport(CounterSupport counterSupport); void setTimeoutModel(TimeoutModel timeoutModel); void setReportHandler(ReportHandler reportHandler); int getPendingSyncRequestCount(); int getPendingAsyncRequestCount();  }