Nuclos server client data: NuclosRemoteInvocationResult, userObject, NuclosHttpInvokerServiceExporter, executeRequest, statistics.

globe with meridians Language: Deutsch · English

light bulb Transferring data from the server to the client

Transport additional data from server to client – NuclosRemoteInvocationResult and userObject.

On this page

To transport additional data (besides the actual result) from the server to the client, there are NuclosRemoteInvocationResult and NuclosHttpInvokerServiceExporter.

Mechanism

final RemoteInvocationResult result = super.executeRequest(invocation);
if(result instanceof NuclosRemoteInvocationResult) {
	NuclosRemoteInvocationResult nuclosResult = (NuclosRemoteInvocationResult) result;
    // space for future use of this feature
}        

Originally intended for statistics (e.g. number of SQL calls or duration of a server call) – better than digging through log files.

Related pages

gear Detailed client information in the server


Client info.

Open →