blob: 2f2b5e6de6a4c0344a3ebcfbac97af901f01bdb0 [file] [log] [blame]
Andrew Brown2f1fdbf2015-01-21 10:52:29 -08001/*
2 * File name: FacePersistency.java
3 *
4 * Purpose: Indicate whether the face is persistent; used by FaceStatus
5 * 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 */
11package com.intel.jndn.management;
12
13/**
14 * Indicate whether the face is persistent; used by FaceStatus
15 * See http://redmine.named-data.net/projects/nfd/widi/FaceMgmt
16 * @author Andrew Brown <andrew.brown@intel.com>
17 */
18public enum FacePersistency {
19
20 PERSISTENT(0),
21 ON_DEMAND(1),
22 PERMANENT(2);
23
24 FacePersistency(int value) {
25 value_ = value;
26 }
27
28 public final int getNumericValue() {
29 return value_;
30 }
31 private final int value_;
32}