com.genesyslab.omsdk.mil
Interface MILSynchronizer


public interface MILSynchronizer

Synchronizes with an asynchronous operation of the MILInteractionManager interface.

This interface enables you to test whether or not the associated operation is completed, regardless of the operation result.

Since:
7.1.000.000
See Also:
MILInteractionManager.asyncStopProcessing(String, MILStopProcessingReason), MILInteractionManager.asyncSubmit(MILInteraction)

Method Summary
 boolean isCompleted()
          Returns true if the associated operation is completed, regardless of the result.
 void waitCompleted()
          Waits for the associated operation to complete.
 

Method Detail

isCompleted

public boolean isCompleted()
Returns true if the associated operation is completed, regardless of the result.

Returns:
true if the associated operation is completed.

waitCompleted

public void waitCompleted()
                   throws MILRequestFailedException
Waits for the associated operation to complete. If the operation is already completed, returns immediately.

Throws:
MILRequestFailedException - Exception thrown if the request fails.