edu.ucsb.cs.jicos.services.external.services.matlab
Class HostMatlab

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by edu.ucsb.cs.jicos.foundation.ServiceImpl
                  extended by edu.ucsb.cs.jicos.services.Host
                      extended by edu.ucsb.cs.jicos.services.external.services.HostExternal
                          extended by edu.ucsb.cs.jicos.services.external.services.matlab.HostMatlab
All Implemented Interfaces:
edu.ucsb.cs.jicos.admin.AdministrableHost, edu.ucsb.cs.jicos.admin.AdministrableHostExternal, edu.ucsb.cs.jicos.admin.AdministrableHostMatlab, edu.ucsb.cs.jicos.foundation.Administrable, Service, java.io.Serializable, java.rmi.Remote

public final class HostMatlab
extends HostExternal
implements edu.ucsb.cs.jicos.admin.AdministrableHostMatlab

Extends a Jicos Host for Matlab tasks (TaskMatlab).

Author:
Andy Pippin
See Also:
edu.ucsb.cs.jicos.services.external.matlab.TaskMatlab, Serialized Form

Field Summary
 
Fields inherited from class edu.ucsb.cs.jicos.services.Host
command2DepartmentArray, displayDebug, GET_HSP, myTaskClass, REMOTE_EXCEPTION_HANDLER
 
Fields inherited from class edu.ucsb.cs.jicos.foundation.ServiceImpl
ASAP_DEPARTMENT
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface edu.ucsb.cs.jicos.foundation.Service
NAME
 
Constructor Summary
HostMatlab(Service taskServer)
          Create a Host associated with TaskMatlab tasks, start up a Matlab engine, and notify a TaskServerMatlab that it exists.
 
Method Summary
static void main(java.lang.String[] args)
          Not used by Jicos applications.
 
Methods inherited from class edu.ucsb.cs.jicos.services.external.services.HostExternal
exceptionHandler
 
Methods inherited from class edu.ucsb.cs.jicos.services.Host
broadcastEvent, discoverTaskServer, echo, executeTask, getChildren, getCurrentState, killTask, loginClient, setShared, shutdown, startup
 
Methods inherited from class edu.ucsb.cs.jicos.foundation.ServiceImpl
addMail, addProxy, addProxy, broadcast, broadcast, bytesToObject, clean, executeCommand, getProxy, objectToBytes, proxyManager, receiveCommands, register, removeProxy, sendCommand, serviceName, setDepartments, setService, unregister
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.ucsb.cs.jicos.foundation.Administrable
echo, shutdown
 

Constructor Detail

HostMatlab

public HostMatlab(Service taskServer)
           throws java.rmi.RemoteException,
                  MatlabProxyNotFoundException,
                  MatlabException
Create a Host associated with TaskMatlab tasks, start up a Matlab engine, and notify a TaskServerMatlab that it exists.

Parameters:
taskServer - A TaskServerMatlab instance.
Throws:
java.rmi.RemoteException
MatlabProxyNotFoundException
MatlabException
See Also:
edu.ucsb.cs.jicos.services.external.matlab.TaskserverMatlab
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Not used by Jicos applications.

Parameters:
args - Not used by Jicos applications.
Throws:
java.lang.Exception - Not used by Jicos applications.


Jicos: http://cs.ucsb.edu/projects/jicos