com.eurotech.framework.net.vpn.impl
Class OpenVpnServiceImpl
java.lang.Object
com.eurotech.framework.net.vpn.impl.OpenVpnServiceImpl
- All Implemented Interfaces:
- VpnService
public class OpenVpnServiceImpl
- extends Object
- implements VpnService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenVpnServiceImpl
public OpenVpnServiceImpl()
start
public void start(String username,
String password)
throws EsfException
- Specified by:
start
in interface VpnService
- Throws:
EsfException
stop
public void stop()
throws EsfException
- Specified by:
stop
in interface VpnService
- Throws:
EsfException
setConfiguration
public void setConfiguration(byte[] vpnConfiguration)
throws EsfException
- Specified by:
setConfiguration
in interface VpnService
- Throws:
EsfException
getConfiguration
public byte[] getConfiguration()
throws EsfException
- Specified by:
getConfiguration
in interface VpnService
- Throws:
EsfException
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface VpnService
getNetInterfaceIpAddress
public String getNetInterfaceIpAddress()
- Specified by:
getNetInterfaceIpAddress
in interface VpnService
Copyright © 2013. All Rights Reserved.