Reorganize mappingservice.implementation
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / dao / SubscriberRLOC.java
similarity index 88%
rename from mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/MappingServiceSubscriberRLOC.java
rename to mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/SubscriberRLOC.java
index 3923a99ef07690c32bd0daea943a6772f28d7211..70f18d23b8a3ef49d835a3f486a6838eb4b3fe0c 100644 (file)
@@ -14,17 +14,17 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314
 /**
  * Request source RLOC in the mapping service with it's properties.
  */
-public class MappingServiceSubscriberRLOC {
+public class SubscriberRLOC {
     private LispAddressContainer rloc;
     private LispAddressContainer eid;
     private Date lastRequestDate;
     private static final long SUBSCRIBER_TIMEOUT = 600000;    /* milliseconds */
 
-    public MappingServiceSubscriberRLOC(LispAddressContainer srcRloc, LispAddressContainer srcEid) {
+    public SubscriberRLOC(LispAddressContainer srcRloc, LispAddressContainer srcEid) {
         this(srcRloc, srcEid, new Date(System.currentTimeMillis()));
     }
 
-    public MappingServiceSubscriberRLOC(LispAddressContainer srcRloc, LispAddressContainer srcEid,
+    public SubscriberRLOC(LispAddressContainer srcRloc, LispAddressContainer srcEid,
             Date lastRequestDate) {
         super();
         this.rloc = srcRloc;
@@ -77,7 +77,7 @@ public class MappingServiceSubscriberRLOC {
             return false;
         if (getClass() != obj.getClass())
             return false;
-        MappingServiceSubscriberRLOC other = (MappingServiceSubscriberRLOC) obj;
+        SubscriberRLOC other = (SubscriberRLOC) obj;
         if (!rloc.equals(other.rloc))
             return false;
         return true;