com.eurotech.framework.net.admin.visitor.linux
Class PppConfigWriter

java.lang.Object
  extended by com.eurotech.framework.net.admin.visitor.linux.PppConfigWriter
All Implemented Interfaces:
NetworkConfigurationVisitor

public class PppConfigWriter
extends Object
implements NetworkConfigurationVisitor


Field Summary
static String OS_PEERS_DIRECTORY
           
static String OS_PPP_LOG_DIRECTORY
           
static String OS_SCRIPTS_DIRECTORY
           
 
Method Summary
static String formChatFilename(UsbDevice usbDevice)
           
static String formDisconnectFilename(UsbDevice usbDevice)
           
static String formPeerFilename(UsbDevice usbDevice)
           
static String formPeerLinkAbsoluteName(int pppUnitNo)
           
static String formPeerLinkName(int pppUnitNo)
           
static String formPppLogFilename(UsbDevice usbDevice)
           
static PppConfigWriter getInstance()
           
 void visit(NetworkConfiguration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OS_PEERS_DIRECTORY

public static final String OS_PEERS_DIRECTORY
See Also:
Constant Field Values

OS_PPP_LOG_DIRECTORY

public static final String OS_PPP_LOG_DIRECTORY
See Also:
Constant Field Values

OS_SCRIPTS_DIRECTORY

public static final String OS_SCRIPTS_DIRECTORY
See Also:
Constant Field Values
Method Detail

getInstance

public static PppConfigWriter getInstance()

visit

public void visit(NetworkConfiguration config)
           throws EsfException
Specified by:
visit in interface NetworkConfigurationVisitor
Throws:
EsfException

formPeerFilename

public static String formPeerFilename(UsbDevice usbDevice)

formPppLogFilename

public static String formPppLogFilename(UsbDevice usbDevice)

formChatFilename

public static String formChatFilename(UsbDevice usbDevice)

formPeerLinkName

public static String formPeerLinkName(int pppUnitNo)

formPeerLinkAbsoluteName

public static String formPeerLinkAbsoluteName(int pppUnitNo)

formDisconnectFilename

public static String formDisconnectFilename(UsbDevice usbDevice)


Copyright © 2013. All Rights Reserved.