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
9 package org.opendaylight.lispflowmapping.implementation.serializer;
11 public enum LispMessageEnum {
12 MapRequest((byte) 1), //
13 MapReply((byte) 2), //
14 MapRegister((byte) 3), //
15 MapNotify((byte) 4), //
16 MapReferral((byte) 6), //
18 EncapsulatedControlMessage((byte) 8);
22 private LispMessageEnum(byte value) {
26 public byte getValue() {
30 public static LispMessageEnum valueOf(byte i) {
31 for (LispMessageEnum lme : LispMessageEnum.values()) {
32 if (lme.getValue() == i) {