
package com.xinda.coap.handler;

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

import java.net.InetSocketAddress;

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