blob: e90c16d1446c2b0b7518b2f3c65efff561991609 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* Copyright (c) 2012-2014 Arne Schwabe
* Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
public interface OpenVPNManagement {
enum pauseReason {
noNetwork,
userPause,
screenOff
}
int mBytecountInterval =2;
void reconnect();
void pause(pauseReason reason);
void resume();
boolean stopVPN();
/*
* Rebind the interface
*/
void networkChange();
}
|