ZetaGrid v1.9

zeta.tool
Class GetData

java.lang.Object
  |
  +--zeta.tool.GetData

public class GetData
extends java.lang.Object


Nested Class Summary
private static class GetData.WriterThread
           
 
Field Summary
private static java.lang.String defaultDecryptionNumber
          The default decryption number for the half-certified Diffie-Hellman protocol.
private static java.text.SimpleDateFormat formatter
           
 
Constructor Summary
GetData()
           
 
Method Summary
(package private) static void decrypt(int taskId, java.lang.String filename)
           
(package private) static void decrypt(int taskId, java.lang.String filename, java.sql.Connection connection)
           
private static java.lang.String encrypt(byte[] serverKey, java.lang.String text)
           
(package private) static boolean get()
           
(package private) static boolean get(java.lang.String sql, boolean removeData)
          1: work_unit_id, 2: range, 3: result, 4: hostname, 5: task_id
static java.sql.Connection getConnection()
           
(package private) static boolean getData(java.sql.Connection connection, java.sql.Statement stmt2, long workUnitId, int range, java.io.InputStream dataIn, java.lang.String hostname, int taskId, java.lang.String outputFilename, java.lang.StringBuffer remove)
           
(package private) static void getViaFtp()
           
(package private) static void getViaServlet()
           
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
 

Field Detail

formatter

private static java.text.SimpleDateFormat formatter

defaultDecryptionNumber

private static java.lang.String defaultDecryptionNumber
The default decryption number for the half-certified Diffie-Hellman protocol.

Constructor Detail

GetData

public GetData()
Method Detail

main

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

get

static boolean get()

get

static boolean get(java.lang.String sql,
                   boolean removeData)
1: work_unit_id, 2: range, 3: result, 4: hostname, 5: task_id


getViaServlet

static void getViaServlet()

encrypt

private static java.lang.String encrypt(byte[] serverKey,
                                        java.lang.String text)

getViaFtp

static void getViaFtp()

getData

static boolean getData(java.sql.Connection connection,
                       java.sql.Statement stmt2,
                       long workUnitId,
                       int range,
                       java.io.InputStream dataIn,
                       java.lang.String hostname,
                       int taskId,
                       java.lang.String outputFilename,
                       java.lang.StringBuffer remove)
                throws java.io.IOException,
                       java.sql.SQLException
java.io.IOException
java.sql.SQLException

decrypt

static void decrypt(int taskId,
                    java.lang.String filename)
             throws java.io.IOException
java.io.IOException

decrypt

static void decrypt(int taskId,
                    java.lang.String filename,
                    java.sql.Connection connection)
             throws java.io.IOException
java.io.IOException

getConnection

public static java.sql.Connection getConnection()
                                         throws java.lang.Exception
java.lang.Exception

ZetaGrid v1.9

For further technical papers, see ZetaGrid Technical Documentation.
 
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.