]> git.ipfire.org Git - thirdparty/strongswan.git/blob - src/frontends/android/app/src/main/java/org/strongswan/android/logic/imc/collectors/ProductInformationCollector.java
android: Provide a fallback for sigwaitinfo()
[thirdparty/strongswan.git] / src / frontends / android / app / src / main / java / org / strongswan / android / logic / imc / collectors / ProductInformationCollector.java
1 /*
2 * Copyright (C) 2013 Tobias Brunner
3 * Copyright (C) 2012 Christoph Buehler
4 * Copyright (C) 2012 Patrick Loetscher
5 * Hochschule fuer Technik Rapperswil
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * for more details.
16 */
17
18 package org.strongswan.android.logic.imc.collectors;
19
20 import org.strongswan.android.logic.imc.attributes.Attribute;
21 import org.strongswan.android.logic.imc.attributes.ProductInformationAttribute;
22
23 public class ProductInformationCollector implements Collector
24 {
25 @Override
26 public Attribute getMeasurement()
27 { /* this is currently hardcoded in the attribute */
28 return new ProductInformationAttribute();
29 }
30 }