1.0.0

org.eclipse.soda.dk.testmanager
Class DistributedTestSession

java.lang.Object
  extended by org.eclipse.soda.dk.testmanager.DistributedTestSession
All Implemented Interfaces:
DistributedTestSessionService

public class DistributedTestSession
extends java.lang.Object
implements DistributedTestSessionService

Since:
1.0
Version:
1.2.0

Constructor Summary
DistributedTestSession(ControllerLocaterService localControllerLocater, java.util.List remoteControllerLocaters, TestSynchronizationService syncService, TestRunListenerService globalRunListener)
          Constructs an instance of this class from the specified local controller locater, remote controller locaters, sync service and global run listener parameters.
 
Method Summary
 void close()
          Close.
 TestSessionService getTestSession(java.lang.String controllerId)
          Get test session with the specified controller id parameter and return the TestSessionService result.
 void interrupt()
          Interrupt.
 boolean isInterrupted()
          Gets the interrupted (boolean) value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedTestSession

public DistributedTestSession(ControllerLocaterService localControllerLocater,
                              java.util.List remoteControllerLocaters,
                              TestSynchronizationService syncService,
                              TestRunListenerService globalRunListener)
Constructs an instance of this class from the specified local controller locater, remote controller locaters, sync service and global run listener parameters.

Parameters:
localControllerLocater - The local controller locater (ControllerLocaterService) parameter.
remoteControllerLocaters - The remote controller locaters (List) parameter.
syncService - The sync service (TestSynchronizationService) parameter.
globalRunListener - The global run listener (TestRunListenerService) parameter.
Method Detail

close

public void close()
Close.

Specified by:
close in interface DistributedTestSessionService

getTestSession

public TestSessionService getTestSession(java.lang.String controllerId)
                                  throws java.io.IOException
Get test session with the specified controller id parameter and return the TestSessionService result.

Specified by:
getTestSession in interface DistributedTestSessionService
Parameters:
controllerId - The controller ID (String) parameter.
Returns:
Results of the get test session (TestSessionService) value.
Throws:
java.io.IOException - IOException.
See Also:
DistributedTestSession(ControllerLocaterService,List,TestSynchronizationService,TestRunListenerService)

interrupt

public void interrupt()
Interrupt.

Specified by:
interrupt in interface DistributedTestSessionService

isInterrupted

public boolean isInterrupted()
Gets the interrupted (boolean) value.

Specified by:
isInterrupted in interface DistributedTestSessionService
Returns:
The interrupted (boolean) value.

1.0.0

Copyright (c) 2007, 2009 IBM