Interface VpnClient

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
OpenVpnClient

public interface VpnClient extends Closeable
  • Method Details

    • getProfile

      VpnProfile getProfile()
    • getDeviceIds

      Set<String> getDeviceIds()
    • addDevices

      void addDevices(Collection<Device> devices)
    • stopDevices

      void stopDevices(Collection<Device> devices)
    • start

      void start()
    • stop

      void stop()
    • isUp

      boolean isUp()
    • isStopped

      boolean isStopped()
    • isClosed

      boolean isClosed()
    • getExitStatus

      Integer getExitStatus()
    • getLog

      List<String> getLog()
    • getStopInstant

      java.time.Instant getStopInstant()