com.eurotech.framework.net.vpn
Interface VpnService

All Known Implementing Classes:
OpenVpnServiceImpl

public interface VpnService

This service allows to configure, start, stop and query the status of the VPN client or server.

Author:
eurotech

Method Summary
 byte[] getConfiguration()
           
 String getNetInterfaceIpAddress()
           
 boolean isRunning()
           
 void setConfiguration(byte[] vpnConfiguration)
           
 void start(String username, String password)
           
 void stop()
           
 

Method Detail

start

void start(String username,
           String password)
           throws EsfException
Throws:
EsfException

stop

void stop()
          throws EsfException
Throws:
EsfException

setConfiguration

void setConfiguration(byte[] vpnConfiguration)
                      throws EsfException
Throws:
EsfException

getConfiguration

byte[] getConfiguration()
                        throws EsfException
Throws:
EsfException

isRunning

boolean isRunning()

getNetInterfaceIpAddress

String getNetInterfaceIpAddress()


Copyright © 2013. All Rights Reserved.