Interface VpnClient
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
OpenVpnClient
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDevices(Collection<Device> devices) getLog()java.time.InstantbooleanisClosed()booleanbooleanisUp()voidstart()voidstop()voidstopDevices(Collection<Device> devices)
-
Method Details
-
getProfile
VpnProfile getProfile() -
getDeviceIds
-
addDevices
-
stopDevices
-
start
void start() -
stop
void stop() -
isUp
boolean isUp() -
isStopped
boolean isStopped() -
isClosed
boolean isClosed() -
getExitStatus
Integer getExitStatus() -
getLog
-
getStopInstant
java.time.Instant getStopInstant()
-