blob: 98cc3e4295d55aa83633a43a6ea702f4d53d71b2 (
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
|
/*
* Copyright (c) 2012-2016 Arne Schwabe
* Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
/**
* Created by arne on 15.11.16.
*/
interface IOpenVPNServiceInternal {
boolean protect(int fd);
void userPause(boolean b);
/**
* @param replaceConnection True if the VPN is connected by a new connection.
* @return true if there was a process that has been send a stop signal
*/
boolean stopVPN(boolean replaceConnection);
boolean isVpnRunning();
void startWithForegroundNotification();
}
|