1 20 21 22 23 24 25 package org.snmp4j; 26 27 import org.snmp4j.event.*; 28 import java.io.IOException ; 29 30 37 public interface Session { 38 39 46 public void close() throws IOException ; 47 48 66 public ResponseEvent send(PDU pdu, Target target) throws IOException ; 67 68 88 public void send(PDU pdu, Target target, Object userHandle, 89 ResponseListener listener) throws IOException ; 90 91 121 public ResponseEvent send(PDU pdu, Target target, 122 TransportMapping transport) throws IOException ; 123 124 149 public void send(PDU pdu, Target target, TransportMapping transport, 150 Object userHandle, 151 ResponseListener listener) throws IOException ; 152 153 154 164 public void cancel(PDU request, ResponseListener listener); 165 166 } 167 168 | Popular Tags |