Class TutorialExercise41

java.lang.Object
  |
  +--TutorialExercise41

public class TutorialExercise41
extends java.lang.Object


Constructor Summary
TutorialExercise41(java.lang.String host, int port, java.lang.String destJavaFile, java.lang.String sourceJavaFile, int transfer_type)
          Runs HelloWorld.class in the remote machine.
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TutorialExercise41

public TutorialExercise41(java.lang.String host,
                          int port,
                          java.lang.String destJavaFile,
                          java.lang.String sourceJavaFile,
                          int transfer_type)
Runs HelloWorld.class in the remote machine. It writes the output to the command prompt in the client machine.

Parameters:
host - The host name: e.g. hawk01.mcs.surrey.ac.uk
port - FTP port name: please use the default one which is 2811
destJavaFile - destination file name
sourceJavaFile - source file name
transfer_type - The file transfer type: prefer GridFTPSession.TYPE_IMAGE for binary data
Method Detail

main

public static void main(java.lang.String[] args)