matlabcontrol.extensions
Interface CallbackMatlabProxy.MatlabDataCallback<V>

Type Parameters:
V -
Enclosing class:
CallbackMatlabProxy

public static interface CallbackMatlabProxy.MatlabDataCallback<V>

A callback that supplies the results of the invocation or the raised exception.


Method Summary
 void invocationFailed(MatlabInvocationException e)
          Called when the method failed.
 void invocationSucceeded(V data)
          Called when the method successfully completed.
 

Method Detail

invocationSucceeded

void invocationSucceeded(V data)
Called when the method successfully completed.

Parameters:
data - the data returned from MATLAB

invocationFailed

void invocationFailed(MatlabInvocationException e)
Called when the method failed.

Parameters:
e - the exception thrown