blob: 5d1b1a9dea7b2f6d4c97c11cb1ed120df5bbc047 [file] [log] [blame]
Umesh Krishnaswamy345ee992012-12-13 20:29:48 -08001package net.floodlightcontroller.flowcache;
2
3public interface IFlowQueryHandler {
4 /**
5 * This callback function is called in response to a flow query request
6 * submitted to the flow cache service. The module handling this callback
7 * can be different from the one that submitted the query. In the flow
8 * query object used for submitting the flow query, the identity of the
9 * callback handler is passed. When flow cache service has all or some
10 * of the flows that needs to be returned then this callback is called
11 * for the appropriate module. The respone contains a boolean more flag
12 * that indicates if there are additional flows that may be returned
13 * via additional callback calls.
14 *
15 * @param resp the response object containing the original flow query
16 * object, partial or complete list of flows that we queried and some
17 * metadata such as the more flag described aboce.
18 *
19 */
20 public void flowQueryRespHandler(FlowCacheQueryResp resp);
21}