com.jproxy.samples.ejb.test
Class JMSPerformanceClient

java.lang.Object
  extended bycom.jproxy.samples.ejb.test.PerformanceClient
      extended bycom.jproxy.samples.ejb.test.JMSPerformanceClient
All Implemented Interfaces:
ITest, ITestCallback, javax.jms.MessageListener, java.rmi.Remote, java.lang.Runnable

public class JMSPerformanceClient
extends PerformanceClient
implements ITest, javax.jms.MessageListener


Field Summary
 
Fields inherited from class com.jproxy.samples.ejb.test.PerformanceClient
hostUrl, isInitialized, out, session
 
Constructor Summary
JMSPerformanceClient()
           
 
Method Summary
 void callbackBytes(java.lang.Object callback, int numberOfBytes, int numberOfLoops)
           
 void destroy()
           
 byte[] echoBytes(byte[] bytes)
           
 long getServerTime()
           
 void init()
           
 void onMessage(javax.jms.Message message)
           
 
Methods inherited from class com.jproxy.samples.ejb.test.PerformanceClient
executeTest, main, onCallback, parseArgs, run, test, testCallback, validateArgs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSPerformanceClient

public JMSPerformanceClient()
Method Detail

onMessage

public void onMessage(javax.jms.Message message)
Specified by:
onMessage in interface javax.jms.MessageListener

getServerTime

public long getServerTime()
                   throws java.rmi.RemoteException
Specified by:
getServerTime in interface ITest
Throws:
java.rmi.RemoteException

echoBytes

public byte[] echoBytes(byte[] bytes)
                 throws java.rmi.RemoteException
Specified by:
echoBytes in interface ITest
Throws:
java.rmi.RemoteException

callbackBytes

public void callbackBytes(java.lang.Object callback,
                          int numberOfBytes,
                          int numberOfLoops)
                   throws java.rmi.RemoteException
Specified by:
callbackBytes in interface ITest
Throws:
java.rmi.RemoteException

init

public void init()
          throws java.lang.Exception
Overrides:
init in class PerformanceClient
Throws:
java.lang.Exception

destroy

public void destroy()
Overrides:
destroy in class PerformanceClient


Copyright © JProxy LLC. All Rights Reserved.