cgl.narada.gridapps.nbgridftp.subscriber
Class NB2ServerData

java.lang.Object
  extended by java.lang.Thread
      extended by cgl.narada.gridapps.nbgridftp.subscriber.NB2ServerData
All Implemented Interfaces:
Runnable

public class NB2ServerData
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NB2ServerData()
           
 
Method Summary
static void close()
           
static void close2Server()
           
 String getHostPort()
           
 boolean isFinished()
           
 void run()
           
static void sendData(String localFile, String host, int port)
           
static void setFinished(boolean fin)
           
static void write2Server(byte[] message, int length)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NB2ServerData

public NB2ServerData()
Method Detail

close2Server

public static void close2Server()

isFinished

public boolean isFinished()

setFinished

public static void setFinished(boolean fin)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

write2Server

public static void write2Server(byte[] message,
                                int length)

sendData

public static void sendData(String localFile,
                            String host,
                            int port)

getHostPort

public String getHostPort()

close

public static void close()


For comments and suggestions please send e-mail to The NaradaBrokering Project