MatlabProxy.DisconnectionListener

public static interface DisconnectionListener

Listens for a proxy’s disconnection from MATLAB.

Author:Joshua Kaplan

See also: MatlabProxy.addDisconnectionListener(matlabcontrol.MatlabProxy.DisconnectionListener), MatlabProxy.removeDisconnectionListener(matlabcontrol.MatlabProxy.DisconnectionListener)

Methods

proxyDisconnected

public void proxyDisconnected(MatlabProxy proxy)

Called when the proxy becomes disconnected from MATLAB. The proxy passed in will always be the proxy that the listener was added to. The proxy is provided so that if desired a single implementation of this interface may easily be used for multiple proxies.

Parameters:
  • proxy – disconnected proxy