com.objectplanet.survey.event
Interface CallBack


public interface CallBack

This class is not directly part of the normal Opinio event mechanism, but rather a generic interface for a one-to-one callback mechanism. Some methods in the API might require a callback parameter. If the object using such a method, and needs to be called back, implement this method.


Method Summary
 void callBack()
          Method that will be called back on the original caller, if no errors occurred.
 void callBackOnError(java.lang.String errorInfo)
          Method that will be called on the original caller, in the event of an error.
 

Method Detail

callBack

void callBack()
Method that will be called back on the original caller, if no errors occurred.


callBackOnError

void callBackOnError(java.lang.String errorInfo)
Method that will be called on the original caller, in the event of an error.

Parameters:
errorInfo - Information about the error that occurred.

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016