javax.microedition.ipdr.callback
Interface StateMachineListenerInFactory


public interface StateMachineListenerInFactory

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

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

Version:
1.0
Author:
Shai Gotlib
See Also:
ConnectionController, ExporterManager

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

Method Detail

getStateMachineListenerIn

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

Parameters:
collectorIdentifier - the collector identifier
collectorPort - in order to make the connection identification unique, the collectorPort was added as well
Returns:
javax.microedition.ipdr.callback.StateMachineListenerIn