com.jproxy.samples.ejb.test
Class PerformanceClient

java.lang.Object
  extended bycom.jproxy.samples.ejb.test.PerformanceClient
All Implemented Interfaces:
ITestCallback, java.rmi.Remote, java.lang.Runnable
Direct Known Subclasses:
CORBAPerformanceClient, EJBPerformanceClient, JMSPerformanceClient, JProxyPerformanceClient, RMIPerformanceClient, SOAPPerformanceClient

public class PerformanceClient
extends java.lang.Object
implements java.lang.Runnable, ITestCallback


Field Summary
 java.lang.String hostUrl
           
 boolean isInitialized
           
static java.io.PrintStream out
           
 ITest session
           
 
Constructor Summary
PerformanceClient()
           
 
Method Summary
 void destroy()
           
static void executeTest(boolean isCallback, java.lang.String mode, java.lang.String hostUrl, int loops, int bytes, int threads)
           
 void init()
           
static void main(java.lang.String[] args)
           
 java.lang.Object onCallback(java.lang.Object obj)
           
static java.util.Properties parseArgs(java.lang.String[] args)
           
 void run()
           
 void test()
           
 void testCallback()
           
 void validateArgs(java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

public ITest session

isInitialized

public boolean isInitialized

hostUrl

public java.lang.String hostUrl

out

public static java.io.PrintStream out
Constructor Detail

PerformanceClient

public PerformanceClient()
Method Detail

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

destroy

public void destroy()

onCallback

public java.lang.Object onCallback(java.lang.Object obj)
                            throws java.rmi.RemoteException
Specified by:
onCallback in interface ITestCallback
Throws:
java.rmi.RemoteException

testCallback

public void testCallback()
                  throws java.lang.Exception
Throws:
java.lang.Exception

test

public void test()
          throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run()
Specified by:
run in interface java.lang.Runnable

parseArgs

public static java.util.Properties parseArgs(java.lang.String[] args)

validateArgs

public void validateArgs(java.util.Properties props)
                  throws java.lang.Exception
Throws:
java.lang.Exception

executeTest

public static void executeTest(boolean isCallback,
                               java.lang.String mode,
                               java.lang.String hostUrl,
                               int loops,
                               int bytes,
                               int threads)

main

public static void main(java.lang.String[] args)


Copyright © JProxy LLC. All Rights Reserved.