edu.virginia.cs.mng.hypercast.demo
Class MFTP_Gui

java.lang.Object
  |
  +--edu.virginia.cs.mng.hypercast.demo.MFTP_Gui

public class MFTP_Gui
extends java.lang.Object
implements I_MFTPCallBack

This class implements I_MFTPCallBack interface. It processes all the status information and all the acknowledgement information.


Field Summary
(package private)  java.lang.String dirname
           
(package private)  MFTP mftp
           
(package private)  javax.swing.JTextArea status
           
(package private)  DynamicTree tree
           
 
Constructor Summary
(package private) MFTP_Gui()
           
 
Method Summary
 void ackInfoarrived(java.lang.String s)
           
 void sendDirectory(java.lang.String directoryName)
           
 void sendFile(java.lang.String fileName, java.lang.String d)
           
 void statusInfoarrived(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mftp

MFTP mftp

status

javax.swing.JTextArea status

tree

DynamicTree tree

dirname

java.lang.String dirname
Constructor Detail

MFTP_Gui

MFTP_Gui()
Method Detail

sendFile

public void sendFile(java.lang.String fileName,
                     java.lang.String d)

sendDirectory

public void sendDirectory(java.lang.String directoryName)

statusInfoarrived

public void statusInfoarrived(java.lang.String s)
Specified by:
statusInfoarrived in interface I_MFTPCallBack

ackInfoarrived

public void ackInfoarrived(java.lang.String s)
Specified by:
ackInfoarrived in interface I_MFTPCallBack