delegates to the proxy , calling the callback when the proxy 's corresponding method has completed . concode_field_sep ThreadFactory _delegateFactory concode_elem_sep MatlabProxy _proxy concode_elem_sep ExecutorService _executor concode_field_sep void disconnect concode_elem_sep Thread newThread concode_elem_sep void returningEval concode_elem_sep void isConnected concode_elem_sep void invocationFailed concode_elem_sep void invocationFailed concode_elem_sep void setVariable concode_elem_sep void getVariable concode_elem_sep void invokeAndWait concode_elem_sep void feval concode_elem_sep void exit concode_elem_sep void invocationSucceeded concode_elem_sep void invocationSucceeded concode_elem_sep String toString concode_elem_sep void returningFeval
void function ( final MatlabCallback arg0 , final String arg1 ) { _executor . submit ( new Runnable ( ) { @ Override public void run ( ) { try { _proxy . eval ( arg1 ) ; arg0 . invocationSucceeded ( ) ; } catch ( MatlabInvocationException loc0 ) { arg0 . invocationFailed ( loc0 ) ; } } } ) ; }