2 * Copyright (c) 2014 Contextream, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.lispflowmapping.interfaces.lisp;
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapReply;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapRequest;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.transport.address.TransportAddress;
15 * An interface for dealing with a map reply message.
17 public interface IMapRequestResultHandler {
19 * Handle return map-reply message
22 * The map-reply message
24 void handleMapReply(MapReply mapReply);
27 * Handle map-request to be forwarded to authoritative ETR
30 * The map-request message
31 * @param transportAddress
32 * The address of the ETR
34 void handleNonProxyMapRequest(MapRequest mapRequest, TransportAddress transportAddress);