com.eurotech.framework.net.vpn.impl
Class OpenVpnServiceImpl

java.lang.Object
  extended by com.eurotech.framework.net.vpn.impl.OpenVpnServiceImpl
All Implemented Interfaces:
VpnService

public class OpenVpnServiceImpl
extends Object
implements VpnService


Constructor Summary
OpenVpnServiceImpl()
           
 
Method Summary
 byte[] getConfiguration()
           
 String getNetInterfaceIpAddress()
           
 boolean isRunning()
           
 void setConfiguration(byte[] vpnConfiguration)
           
 void start(String username, String password)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenVpnServiceImpl

public OpenVpnServiceImpl()
Method Detail

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.