Public Member Functions | Package Functions

si.ijs.acs.objectexplorer.engine.RemoteResponse Interface Reference

Inheritance diagram for si.ijs.acs.objectexplorer.engine.RemoteResponse:
si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteResponse

List of all members.

Public Member Functions

String[] getDataNames ()
Invocation getInvocation ()
String getName ()
int getSequenceNumber ()
boolean isErrorResponse ()
long getTimestamp ()

Package Functions

Object[] getData ()

Detailed Description

A data structure representing an asynchronous notification (monitor, callback, alarm). The structure contains the name of the method invoked by the server and all the parameters passed by the server.


Member Function Documentation

Object [] si.ijs.acs.objectexplorer.engine.RemoteResponse.getData (  )  [package]

Returns the data passed by the server to the client in the asynchronous calls. The names of the parameters are passed in the corresponding dataNames array.

Returns:
array of callback parameters

Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteResponse.

Referenced by si.ijs.acs.objectexplorer.RemoteResponseWindow.fillTrendList(), and si.ijs.acs.objectexplorer.ReporterBean.toString().

String [] si.ijs.acs.objectexplorer.engine.RemoteResponse.getDataNames (  ) 

Returns the names of the parameter values stored in the corresponding data array.

Returns:
parameter names, used to display the values

Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteResponse.

Referenced by si.ijs.acs.objectexplorer.RemoteResponseWindow.fillTrendList(), and si.ijs.acs.objectexplorer.ReporterBean.toString().

Invocation si.ijs.acs.objectexplorer.engine.RemoteResponse.getInvocation (  ) 
String si.ijs.acs.objectexplorer.engine.RemoteResponse.getName (  ) 

Returns the name of the callback method invoked by the server. This name will be interpreted as the asynchronous "message" or "event", accompanied by the data array.

Returns:
name of the asynchronous message

Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteResponse.

Referenced by si.ijs.acs.objectexplorer.ReporterBean.reportRemoteResponse(), si.ijs.acs.objectexplorer.RemoteResponseWindow.reportRemoteResponse(), and si.ijs.acs.objectexplorer.ReporterBean.toString().

int si.ijs.acs.objectexplorer.engine.RemoteResponse.getSequenceNumber (  ) 
long si.ijs.acs.objectexplorer.engine.RemoteResponse.getTimestamp (  ) 

Return timestamp of the response. Engine should use server timestamp that correspond to the data timestamp. If not available System.currentTimeMillis() should be used.

Returns:
timestamp of the response.

Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteResponse.

Referenced by si.ijs.acs.objectexplorer.ReporterBean.toString().

boolean si.ijs.acs.objectexplorer.engine.RemoteResponse.isErrorResponse (  ) 

Returns true if, during the invocation of this method, the engine determined that the remote object responded with error completion.

Returns:
true if the method invocation was completed with error

Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteResponse.

Referenced by si.ijs.acs.objectexplorer.ReporterBean.reportRemoteResponse(), and si.ijs.acs.objectexplorer.RemoteResponseWindow.reportRemoteResponse().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties