1 20 21 22 package org.snmp4j.transport; 23 24 import org.snmp4j.*; 25 import org.snmp4j.smi.Address; 26 import java.io.IOException ; 27 28 36 public interface ConnectionOrientedTransportMapping extends TransportMapping { 37 38 44 MessageLengthDecoder getMessageLengthDecoder(); 45 46 53 void setMessageLengthDecoder(MessageLengthDecoder messageLengthDecoder); 54 55 63 void setConnectionTimeout(long connectionTimeout); 64 65 71 void addTransportStateListener(TransportStateListener l); 72 73 78 void removeTransportStateListener(TransportStateListener l); 79 80 89 boolean close(Address remoteAddress) throws IOException ; 90 91 } 92 | Popular Tags |