changed license year
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / type / lisp / address / LispASAddress.java
index c1c239bd6af18a1b9b957a22d0b5a1a044ffeb53..f3fe561329265be1b7629de88300fef77c814f54 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013 Contextream, Inc. and others.  All rights reserved.
+ * Copyright (c) 2014 Contextream, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -8,8 +8,6 @@
 
 package org.opendaylight.lispflowmapping.type.lisp.address;
 
-import java.nio.ByteBuffer;
-
 import org.opendaylight.lispflowmapping.type.AddressFamilyNumberEnum;
 
 public class LispASAddress extends LispAddress {
@@ -20,24 +18,11 @@ public class LispASAddress extends LispAddress {
         this.asNum = num;
     }
 
-    public static LispASAddress valueOf(ByteBuffer buffer) {
-        throw new RuntimeException("Not implemented");
-    }
 
     public int getAS() {
         return asNum;
     }
 
-    @Override
-    public int getAddressSize() {
-        throw new RuntimeException("Not implemented");
-
-    }
-
-    @Override
-    public void serialize(ByteBuffer buffer) {
-        throw new RuntimeException("Not implemented");
-    }
 
     @Override
     public int hashCode() {