javax.microedition.ipdr.callback
Interface StateMachineListenerOutFactory


public interface StateMachineListenerOutFactory

This interface is the StateMachineListenerOut factory. The interface is being sent as an input to the ExporeterManager implementation and enables the implementation to get a new StateMachineListenerOut whenever it is necessary.

The ExporterManager implementation get a factory and not simply the StateMachineListenerOut which enable the ETA implementation to construct the new StateMachineListenerOut per thread. This way StateMachineListenerOut implementation does not have to be thread safe.

Version:
1.0
Author:
Shai Gotlib
See Also:
ExporterManager

Method Summary
 StateMachineListenerOut getStateMachineListenerOut(java.lang.String collectorIdentifier, int collectorPort)
          Returns an instance of StateMachineListenerOut.
 

Method Detail

getStateMachineListenerOut

public StateMachineListenerOut getStateMachineListenerOut(java.lang.String collectorIdentifier,
                                                          int collectorPort)
Returns an instance of StateMachineListenerOut. Parameters are given in order to uniquely identifiy the StateManchine

Parameters:
collectorIdentifier - the collector identifier
collectorPort - in order to make connection identification unique we need also the collectorPort
Returns:
javax.microedition.ipdr.callback.StateMachineListenerOut