public class MasterNodeImpl extends Object implements MasterNodeRemote, MasterNodeLocal
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Listener<ClientStateInformation>> |
listeners |
RMI_SERVICE_NAME| Constructor and Description |
|---|
MasterNodeImpl(Registry registry) |
protected final Collection<Listener<ClientStateInformation>> listeners
public MasterNodeImpl(Registry registry)
public void evosuite_registerClientNode(String clientRmiIdentifier) throws RemoteException
evosuite_registerClientNode in interface MasterNodeRemoteRemoteExceptionpublic void evosuite_informChangeOfStateInClient(String clientRmiIdentifier, ClientState state, ClientStateInformation information) throws RemoteException
evosuite_informChangeOfStateInClient in interface MasterNodeRemoteRemoteExceptionpublic Collection<ClientState> getCurrentState()
getCurrentState in interface MasterNodeLocalpublic Collection<ClientStateInformation> getCurrentStateInformation()
getCurrentStateInformation in interface MasterNodeLocalpublic String getSummaryOfClientStatuses()
getSummaryOfClientStatuses in interface MasterNodeLocalpublic Set<ClientNodeRemote> getClientsOnceAllConnected(long timeoutInMs) throws InterruptedException
getClientsOnceAllConnected in interface MasterNodeLocalInterruptedExceptionpublic void cancelAllClients()
cancelAllClients in interface MasterNodeLocalpublic void evosuite_collectStatistics(String clientRmiIdentifier, Chromosome individual)
evosuite_collectStatistics in interface MasterNodeRemotepublic void evosuite_collectStatistics(String clientRmiIdentifier, RuntimeVariable variable, Object value) throws RemoteException
evosuite_collectStatistics in interface MasterNodeRemoteRemoteExceptionpublic void evosuite_collectTestGenerationResult(String clientRmiIdentifier, List<TestGenerationResult> results) throws RemoteException
evosuite_collectTestGenerationResult in interface MasterNodeRemoteRemoteExceptionpublic void evosuite_flushStatisticsForClassChange(String clientRmiIdentifier) throws RemoteException
evosuite_flushStatisticsForClassChange in interface MasterNodeRemoteRemoteExceptionpublic void evosuite_updateProperty(String clientRmiIdentifier, String propertyName, Object value) throws RemoteException, IllegalArgumentException, IllegalAccessException, Properties.NoSuchParameterException
evosuite_updateProperty in interface MasterNodeRemoteRemoteExceptionIllegalArgumentExceptionIllegalAccessExceptionProperties.NoSuchParameterExceptionpublic void addListener(Listener<ClientStateInformation> listener)
addListener in interface Listenable<ClientStateInformation>public void deleteListener(Listener<ClientStateInformation> listener)
deleteListener in interface Listenable<ClientStateInformation>public void fireEvent(ClientStateInformation event)
fireEvent
event - a T object.Copyright © 2010–2016 EvoSuite. All rights reserved.