matlabcontrol
Interface MatlabConnectionListener


public interface MatlabConnectionListener

Implement this interface to be informed when a remote connection has been established or lost.

Author:
Joshua Kaplan
See Also:
RemoteMatlabProxyFactory.addConnectionListener(MatlabConnectionListener), RemoteMatlabProxyFactory.removeConnectionListener(MatlabConnectionListener)

Method Summary
 void connectionEstablished(RemoteMatlabProxy proxy)
          Called when the connection to the session of MATLAB launched has been established.
 void connectionLost(RemoteMatlabProxy proxy)
          Called when the connection to the session of MATLAB has been lost.
 

Method Detail

connectionEstablished

void connectionEstablished(RemoteMatlabProxy proxy)
Called when the connection to the session of MATLAB launched has been established.

Parameters:
proxy - the proxy created when the connection was established

connectionLost

void connectionLost(RemoteMatlabProxy proxy)
Called when the connection to the session of MATLAB has been lost.

Parameters:
proxy - the proxy that is no longer connected