| java.lang.Object com.rift.coad.daemon.deployment.DeploymentDaemonImpl
DeploymentDaemonImpl | public class DeploymentDaemonImpl implements DeploymentDaemon(Code) | | This Daemon allows users to remotely upload either Daemons or any other file
to the Coadunation server.
author: Glynn Chaldecott |
Method Summary | |
public void | copyFile(byte[] file, String name, String location) This method is used when a user needs to remotely upload a file to the
Coadunation server. | public void | daemonDeployer(byte[] file, String name) This method is used when a user wishes to remotely deploy a Daemon to
Coadunation.
Parameters: file - This is a byte[] containing the contents of the jar file. Parameters: name - This is the name of the Daemon. Parameters: extension - This is the file extension. |
DeploymentDaemonImpl | public DeploymentDaemonImpl() throws Exception(Code) | | Creates a new instance of DeploymentDaemonImpl
|
copyFile | public void copyFile(byte[] file, String name, String location) throws RemoteException(Code) | | This method is used when a user needs to remotely upload a file to the
Coadunation server.
Parameters: file - This is a byte[] containing the contents of the file. Parameters: name - This is the name of the file. Parameters: location - This is the location that the file will be stored. Parameters: extension - This is the file's extension. |
daemonDeployer | public void daemonDeployer(byte[] file, String name) throws RemoteException, DeploymentDaemonException(Code) | | This method is used when a user wishes to remotely deploy a Daemon to
Coadunation.
Parameters: file - This is a byte[] containing the contents of the jar file. Parameters: name - This is the name of the Daemon. Parameters: extension - This is the file extension. It has to be .jar otherwisethe method will throw an error. |
|
|