openr66.server
Class ConfigImport

java.lang.Object
  extended by openr66.server.ConfigImport
All Implemented Interfaces:
Runnable

public class ConfigImport
extends Object
implements Runnable

Config Import from a local client without database connection

Author:
Frederic Bregier

Field Summary
protected  R66Future future
           
protected  String host
           
protected  boolean hostPurge
           
protected  NetworkTransaction networkTransaction
           
protected  String rule
           
protected  boolean rulePurge
           
protected static String shost
           
protected static boolean shostpurge
           
protected static String srule
           
protected static boolean srulepurge
           
 
Constructor Summary
ConfigImport(R66Future future, boolean hostPurge, boolean rulePurge, String host, String rule, NetworkTransaction networkTransaction)
           
 
Method Summary
protected static boolean getParams(String[] args)
           
static void main(String[] args)
           
 void run()
          Prior to call this method, the pipeline and NetworkTransaction must have been initialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

future

protected final R66Future future

host

protected final String host

hostPurge

protected final boolean hostPurge

rule

protected final String rule

rulePurge

protected final boolean rulePurge

networkTransaction

protected final NetworkTransaction networkTransaction

shost

protected static String shost

srule

protected static String srule

shostpurge

protected static boolean shostpurge

srulepurge

protected static boolean srulepurge
Constructor Detail

ConfigImport

public ConfigImport(R66Future future,
                    boolean hostPurge,
                    boolean rulePurge,
                    String host,
                    String rule,
                    NetworkTransaction networkTransaction)
Method Detail

run

public void run()
Prior to call this method, the pipeline and NetworkTransaction must have been initialized. It is the responsibility of the caller to finish all network resources.

Specified by:
run in interface Runnable

getParams

protected static boolean getParams(String[] args)

main

public static void main(String[] args)


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.