Andrew Brown | 2f1fdbf | 2015-01-21 10:52:29 -0800 | [diff] [blame] | 1 | /* |
| 2 | * File name: FaceScope.java |
| 3 | * |
| 4 | * Purpose: Indicate whether the face is local for scope control purposes; |
| 5 | * used by FaceStatus. See http://redmine.named-data.net/projects/nfd/widi/FaceMgmt |
| 6 | * |
| 7 | * © Copyright Intel Corporation. All rights reserved. |
| 8 | * Intel Corporation, 2200 Mission College Boulevard, |
| 9 | * Santa Clara, CA 95052-8119, USA |
| 10 | */ |
| 11 | package com.intel.jndn.management; |
| 12 | |
| 13 | /** |
| 14 | * Indicate whether the face is local for scope control purposes; used by FaceStatus |
| 15 | * See http://redmine.named-data.net/projects/nfd/widi/FaceMgmt |
| 16 | * |
| 17 | * @author andrew |
| 18 | */ |
| 19 | public enum FaceScope { |
| 20 | |
| 21 | LOCAL(0), |
| 22 | NON_LOCAL(1); |
| 23 | |
| 24 | FaceScope(int value) { |
| 25 | value_ = value; |
| 26 | } |
| 27 | |
| 28 | public final int getNumericValue() { |
| 29 | return value_; |
| 30 | } |
| 31 | private final int value_; |
| 32 | } |