edu.nyu.cs.pdsg.runtime
Class CodeProxy

java.lang.Object
  extended byedu.nyu.cs.pdsg.runtime.CodeProxy

class CodeProxy
extends java.lang.Object


Nested Class Summary
static class CodeProxy.debug
           
 
Field Summary
static CodeProxy.debug Debug
           
static int proxyDebugLevel
           
 
Constructor Summary
(package private) CodeProxy()
           
 
Method Summary
static void fileNotFound(java.io.DataOutputStream outClient, java.net.Socket clientSocket)
           
static byte[] getCode(java.io.DataInputStream inCodeServer, java.io.InputStream inStream, long length)
           
static byte[] getCode(java.io.DataInputStream inCodeServer, java.io.InputStream inStream, long length, java.lang.String encryption)
           
static byte[] getCode(java.lang.String location)
           
static void main(java.lang.String[] args)
           
static byte[] processCode(byte[] code, java.lang.String encryption)
           
static void sendCode(java.io.DataOutputStream outClient, byte[] code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Debug

public static CodeProxy.debug Debug

proxyDebugLevel

public static final int proxyDebugLevel
See Also:
Constant Field Values
Constructor Detail

CodeProxy

CodeProxy()
Method Detail

main

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

fileNotFound

public static void fileNotFound(java.io.DataOutputStream outClient,
                                java.net.Socket clientSocket)
                         throws java.io.IOException
Throws:
java.io.IOException

sendCode

public static void sendCode(java.io.DataOutputStream outClient,
                            byte[] code)
                     throws java.io.IOException
Throws:
java.io.IOException

getCode

public static byte[] getCode(java.lang.String location)
                      throws java.io.IOException
Throws:
java.io.IOException

getCode

public static byte[] getCode(java.io.DataInputStream inCodeServer,
                             java.io.InputStream inStream,
                             long length)
                      throws java.io.IOException
Throws:
java.io.IOException

getCode

public static byte[] getCode(java.io.DataInputStream inCodeServer,
                             java.io.InputStream inStream,
                             long length,
                             java.lang.String encryption)
                      throws java.io.IOException
Throws:
java.io.IOException

processCode

public static byte[] processCode(byte[] code,
                                 java.lang.String encryption)


Copyright (c) 2002-2003 New York University RLAB