org.exolab.jmscts.core.service
Class TestTerminatorServer

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--org.exolab.jmscts.core.service.TestTerminatorServer
All Implemented Interfaces:
java.rmi.Remote, RemoteService, java.io.Serializable

public class TestTerminatorServer
extends java.rmi.server.UnicastRemoteObject
implements RemoteService

This server enables a running compliance suite to be terminated.

Version:
$Revision: 1.3 $ $Date: 2004/02/03 21:52:07 $
Author:
Tim Anderson
See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
TestTerminatorServer(TestTerminatorService service)
          Construct a new instance
 
Method Summary
 void abort()
          Abort the compliance test
 void stop()
          Stop the compliance test gracefully
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestTerminatorServer

public TestTerminatorServer(TestTerminatorService service)
                     throws java.rmi.RemoteException
Construct a new instance
Parameters:
service - the terminator service
Throws:
java.rmi.RemoteException - if failed to export object
Method Detail

stop

public void stop()
          throws java.rmi.RemoteException
Stop the compliance test gracefully
Specified by:
stop in interface RemoteService
Throws:
java.rmi.RemoteException - if the compliance test cannot be stopped

abort

public void abort()
Abort the compliance test
Specified by:
abort in interface RemoteService
Following copied from interface: org.exolab.jmscts.core.service.RemoteService
Throws:
java.rmi.RemoteException - if the service cannot be aborted


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.