openr66.client
Class AbstractBusinessRequest

java.lang.Object
  extended by openr66.client.AbstractBusinessRequest
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
TestBusinessRequest

public abstract class AbstractBusinessRequest
extends Object
implements Runnable

Abstract class for internal Business Request

Author:
Frederic Bregier

Field Summary
static String BUSINESSREQUEST
           
protected static String classarg
           
protected static String classname
           
protected  R66Future future
           
protected static goldengate.common.logging.GgInternalLogger logger
          Internal Logger
protected  NetworkTransaction networkTransaction
           
protected static boolean nolog
           
protected  String remoteHost
           
protected static String rhost
           
 
Constructor Summary
AbstractBusinessRequest(Class<?> clasz, R66Future future, String remoteHost, NetworkTransaction networkTransaction, BusinessRequestPacket packet)
           
 
Method Summary
protected static boolean getParams(String[] args)
          Parse the parameter and set current values
 void initRequest()
           
static void main(String[] args)
          Dummy Main method
 void run()
           
 void sendRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static volatile goldengate.common.logging.GgInternalLogger logger
Internal Logger


BUSINESSREQUEST

public static final String BUSINESSREQUEST
See Also:
Constant Field Values

future

protected final R66Future future

remoteHost

protected final String remoteHost

networkTransaction

protected final NetworkTransaction networkTransaction

rhost

protected static String rhost

classname

protected static String classname

classarg

protected static String classarg

nolog

protected static boolean nolog
Constructor Detail

AbstractBusinessRequest

public AbstractBusinessRequest(Class<?> clasz,
                               R66Future future,
                               String remoteHost,
                               NetworkTransaction networkTransaction,
                               BusinessRequestPacket packet)
Method Detail

run

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

initRequest

public void initRequest()
                 throws OpenR66ProtocolNoConnectionException
Throws:
OpenR66ProtocolNoConnectionException

sendRequest

public void sendRequest()

main

public static void main(String[] args)
Dummy Main method

Parameters:
args -

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


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