package org.snmp4j;

import java.nio.ByteBuffer;
import java.util.Collection;
import org.snmp4j.mp.MessageProcessingModel;
import org.snmp4j.mp.PduHandle;
import org.snmp4j.mp.PduHandleCallback;
import org.snmp4j.mp.StateReference;
import org.snmp4j.mp.StatusInformation;
import org.snmp4j.smi.Address;
import org.snmp4j.transport.TransportListener;

/* JADX INFO: loaded from: classes.dex */
public interface MessageDispatcher extends TransportListener {
    void addCommandResponder(CommandResponder commandResponder);

    void addMessageProcessingModel(MessageProcessingModel messageProcessingModel);

    void addTransportMapping(TransportMapping<? extends Address> transportMapping);

    MessageProcessingModel getMessageProcessingModel(int i2);

    int getNextRequestID();

    TransportMapping getTransport(Address address);

    Collection<TransportMapping> getTransportMappings();

    @Override // org.snmp4j.transport.TransportListener
    void processMessage(TransportMapping transportMapping, Address address, ByteBuffer byteBuffer, TransportStateReference transportStateReference);

    void releaseStateReference(int i2, PduHandle pduHandle);

    void removeCommandResponder(CommandResponder commandResponder);

    void removeMessageProcessingModel(MessageProcessingModel messageProcessingModel);

    TransportMapping removeTransportMapping(TransportMapping<? extends Address> transportMapping);

    int returnResponsePdu(int i2, int i3, byte[] bArr, int i4, PDU pdu, int i5, StateReference stateReference, StatusInformation statusInformation) throws MessageException;

    PduHandle sendPdu(Target target, PDU pdu, boolean z) throws MessageException;

    PduHandle sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean z) throws MessageException;

    PduHandle sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean z, PduHandleCallback<PDU> pduHandleCallback) throws MessageException;
}
