LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data
Interface LyResponseListener

All Known Implementing Classes:
LyExtendRequestEncoder, LyInfoRequestEncoder

public interface LyResponseListener

This interface allows to receive responses to demands adressed to data sources.

See Also:
LyDataSource, LyResponse, LyRequestEncoder

Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 void endResponse(LyResponse response)
          Method for ending a response.
 void newResponse(LyResponse response, java.lang.Object object, LyValueSet oldValues)
          Method for receiving a new object in a response.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

newResponse

void newResponse(LyResponse response,
                 java.lang.Object object,
                 LyValueSet oldValues)
Method for receiving a new object in a response. This method is called by LyResponse when a new objet is added in response and thus will be called several times for demands that return several objects.

Parameters:
response - Response for which a new object is received.
object - The new object returned in the response.
oldValues - When the demand was a modification of an object, this parameter may contains the list of values that were changed. In other cases, this parameter is null.

endResponse

void endResponse(LyResponse response)
Method for ending a response. This method is called by LyResponse when all results have been received to notify the response is terminated.

Parameters:
response - Response which end is notified.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com