RequestReceiver

interface RequestReceiver extends Remote

Represents a receiver for a request to create a proxy. The receiver must be bound to an RMI registry, it will be bound with the RMI identifier getReceiverID(). Necessary to have this interface for RMI.

Author:Joshua Kaplan

Methods

getClassPathAsCanonicalPaths

public String[] getClassPathAsCanonicalPaths()

The classpath of the VM the receiver was created in encoded as canonical paths.

Throws:
  • RemoteException

getClassPathAsRMICodebase

public String getClassPathAsRMICodebase()

The classpath of the VM the receiver was created in encoded as an RMI codebase.

Throws:
  • RemoteException

getReceiverID

public String getReceiverID()

The identifier of the receiver.

Throws:
  • RemoteException

receiveJMIWrapper

public void receiveJMIWrapper(JMIWrapperRemote jmiWrapper, boolean existingSession)

Receives an incoming wrapper around the JMI functionality inside of MATLAB. This method is to be called by MatlabConnector running inside of MATLAB’s JVM.

Parameters:
  • jmiWrapper
  • existingSession – if the session sending the jmiWrapper was running prior to the request to create the proxy
Throws:
  • RemoteException