openr66.client
Class RequestTransfer

java.lang.Object
  extended by openr66.client.RequestTransfer
All Implemented Interfaces:
Runnable

public class RequestTransfer
extends Object
implements Runnable

Class to request information or request cancellation or restart

Author:
Frederic Bregier

Field Summary
protected  NetworkTransaction networkTransaction
           
 
Constructor Summary
RequestTransfer(R66Future future, long specialId, String requested, String requester, boolean cancel, boolean stop, boolean restart, NetworkTransaction networkTransaction)
           
 
Method Summary
protected static boolean getParams(String[] args)
          Parse the parameter and set current values
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

networkTransaction

protected final NetworkTransaction networkTransaction
Constructor Detail

RequestTransfer

public RequestTransfer(R66Future future,
                       long specialId,
                       String requested,
                       String requester,
                       boolean cancel,
                       boolean stop,
                       boolean restart,
                       NetworkTransaction networkTransaction)
Parameters:
future -
specialId -
requested -
requester -
cancel -
stop -
restart -
networkTransaction -
Method Detail

getParams

protected static boolean getParams(String[] args)
Parse the parameter and set current values

Parameters:
args -
Returns:
True if all parameters were found and correct

run

public void run()
Specified by:
run in interface Runnable

main

public static void main(String[] args)
Parameters:
args -


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