
package iot.lidee.coap.handler;

import com.google.common.util.concurrent.SettableFuture;
import iot.lidee.coap.model.CoapRequest;
import iot.lidee.coap.model.CoapResponse;

import java.net.InetSocketAddress;

public interface RequestConsumer {
    public void processCoapRequest(SettableFuture<CoapResponse> responseFuture, CoapRequest coapRequest,
                                            InetSocketAddress remoteSocket) throws Exception;
}
