Todos

ClassClass Todos CountMethod with Todos
uk.ac.rdg.resc.jstyx.client.CStyxFile 2 10
uk.ac.rdg.resc.jstyx.client.CStyxFileInputStream 2 0
uk.ac.rdg.resc.jstyx.client.FileWrapper 0 1
uk.ac.rdg.resc.jstyx.client.StyxConnection 0 2
uk.ac.rdg.resc.jstyx.client.StyxFileSystemView 1 2
uk.ac.rdg.resc.jstyx.client.browser.StyxBrowser 1 0
uk.ac.rdg.resc.jstyx.client.browser.TextDisplayer 1 0
uk.ac.rdg.resc.jstyx.gridservice.client.CStyxFileNode 2 0
uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClient 0 1
uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClient.StdinReader 1 0
uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClientChangeAdapter 0 1
uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClientChangeListener 0 1
uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceGUI 0 1
uk.ac.rdg.resc.jstyx.gridservice.config.SGSOutput 1 0
uk.ac.rdg.resc.jstyx.gridservice.server.ExitCodeFile 1 0
uk.ac.rdg.resc.jstyx.gridservice.server.GeneralCachingStreamReader.DataRequest 1 0
uk.ac.rdg.resc.jstyx.gridservice.server.SGSOutputFile 1 0
uk.ac.rdg.resc.jstyx.gridservice.server.ServiceDataElement 0 1
uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridService.CloneFile 0 1
uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance.ControlFile 1 0
uk.ac.rdg.resc.jstyx.interloper.StyxMon 6 0
uk.ac.rdg.resc.jstyx.interloper.StyxMonTableModel 1 0
uk.ac.rdg.resc.jstyx.messages.RstatMessage 1 0
uk.ac.rdg.resc.jstyx.messages.StyxBuffer 2 0
uk.ac.rdg.resc.jstyx.messages.TwriteMessage 1 0
uk.ac.rdg.resc.jstyx.messages.TwstatMessage 1 0
uk.ac.rdg.resc.jstyx.server.DirectoryOnDisk 0 1
uk.ac.rdg.resc.jstyx.server.FileOnDisk 0 1
uk.ac.rdg.resc.jstyx.server.MonitoredFileOnDisk 2 0
uk.ac.rdg.resc.jstyx.server.StyxFile 0 1
uk.ac.rdg.resc.jstyx.server.StyxServerProtocolHandler 1 0
uk.ac.rdg.resc.jstyx.server.StyxSessionState 0 1

uk.ac.rdg.resc.jstyx.client.CStyxFile

Class Todos
implement a create() method that automatically creates all necessary subdirectories
implement changing of stat data (length etc) via a Twstat message
Method Todos
getURL(): Include user name in the URL?
Method Todos
refreshAsync(): In the case of a directory, should this refresh the list of children?
Method Todos
refreshAsync(): In the case of a directory, should this refresh the list of children?
refreshAsync(): If there is already a Tstat message in flight, what should we do? Does it matter much?
Method Todos
upload(): Add a flag to prevent overwriting a file if it already exists?
upload(): Allow a callback to be provided for progress monitoring?
Method Todos
upload(): Add a flag to prevent overwriting a file if it already exists?
upload(): Allow a callback to be provided for progress monitoring?
Method Todos
uploadAsync(): Add a flag to prevent overwriting a file if it already exists?
uploadAsync(): Allow a callback to be provided for progress monitoring?
Method Todos
uploadAsync(): Add a flag to prevent overwriting a file if it already exists?
uploadAsync(): Allow a callback to be provided for progress monitoring?
Method Todos
uploadAsync(): Add a flag to prevent overwriting a file if it already exists?
uploadAsync(): Allow a callback to be provided for progress monitoring?
Method Todos
uploadAsync(): Add a flag to prevent overwriting a file if it already exists?
uploadAsync(): Allow a callback to be provided for progress monitoring?
Method Todos
getCanonicalPath(): Move to StyxUtils?

uk.ac.rdg.resc.jstyx.client.CStyxFileInputStream

Class Todos
Implement read(byte[]), read(byte[], off, len), skip() in most efficient way possible
Also make into a Channel?

uk.ac.rdg.resc.jstyx.client.FileWrapper

Method Todos
isFile(): Should test that it's not an auth file, append-only, exclusive etc

uk.ac.rdg.resc.jstyx.client.StyxConnection

Method Todos
close(): rename this closeAsync() and implement a blocking close() method?
Method Todos
clunkNextFid(): Should we actually be closing CStyxFiles rather than clunking the fids?

uk.ac.rdg.resc.jstyx.client.StyxFileSystemView

Class Todos
How can we make sure the correct FileSystemView is gotten by FileSystemView.getFileSystemView()?
Method Todos
createNewFolder(): doesn't do anything yet!
Method Todos
isHiddenFile(): Should return true if filename starts with a period?

uk.ac.rdg.resc.jstyx.client.browser.StyxBrowser

Class Todos
Make into an applet?

uk.ac.rdg.resc.jstyx.client.browser.TextDisplayer

Class Todos
handle the window sizing properly

uk.ac.rdg.resc.jstyx.gridservice.client.CStyxFileNode

Class Todos
How much of this functionality can be shared with the SGSClient or SGSInstanceClient?
Would it be better to create subclasses of this for the different node types?

uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClient

Method Todos
uploadInputFiles(): Add some progress information to this (e.g. a callback)
uploadInputFiles(): Shouldn't have to call this explicitly: should be done when we start the service.

uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClient.StdinReader

Class Todos
recreates code in StyxGridServiceInstance.RedirectStream: refactor

uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClientChangeAdapter

Method Todos
inputFilesUploaded(): add arguments to this

uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceClientChangeListener

Method Todos
inputFilesUploaded(): add arguments to this

uk.ac.rdg.resc.jstyx.gridservice.client.SGSInstanceGUI

Method Todos
inputFilesUploaded(): add arguments to this

uk.ac.rdg.resc.jstyx.gridservice.config.SGSOutput

Class Todos
this is virtually identical to SGSInput - can we refactor?

uk.ac.rdg.resc.jstyx.gridservice.server.ExitCodeFile

Class Todos
This class might be more generally useful - refactor?

uk.ac.rdg.resc.jstyx.gridservice.server.GeneralCachingStreamReader.DataRequest

Class Todos
this is very similar to the ClientInfo class in AsyncStyxFile. Can we avoid this code repetition?

uk.ac.rdg.resc.jstyx.gridservice.server.SGSOutputFile

Class Todos
this repeats code in FileOnDisk and GeneralCachingStreamReader. Can we refactor?

uk.ac.rdg.resc.jstyx.gridservice.server.ServiceDataElement

Method Todos
getAsyncStyxFile(): The StyxFile that is returned should be read-only

uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridService.CloneFile

Method Todos
read(): Could also create the SGS when this file is opened, and leave the file handle open on the ctl file of the new Service

uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance.ControlFile

Class Todos
Reading from this file could return a list of supported commands.

uk.ac.rdg.resc.jstyx.interloper.StyxMon

Class Todos
Allow filtering by hierarchy (e.g. show all files rooted at /md5sum/1)
Make sure all connections are closed properly on exit, and that all threads are stopped.
Allow messages to be saved as a .csv file or plain ASCII text
Handle more events such as clients connecting, disconnecting, server connection going down, etc (feed back to GUI)
Filter messages by type, whether they have been replied to, errors
Add a "hint" column containing a description of what the message is doing

uk.ac.rdg.resc.jstyx.interloper.StyxMonTableModel

Class Todos
Add a "hint" column containing info on what the message exchange is doing

uk.ac.rdg.resc.jstyx.messages.RstatMessage

Class Todos
Implement toFriendlyString() method

uk.ac.rdg.resc.jstyx.messages.StyxBuffer

Class Todos
do these functions need to be thread-safe? Are two different threads ever going to want to access the same buffer simultaneously?
does this belong in the messages package?

uk.ac.rdg.resc.jstyx.messages.TwriteMessage

Class Todos
make count an int, and use MINA's ByteBuffer

uk.ac.rdg.resc.jstyx.messages.TwstatMessage

Class Todos
Implement getFriendlyString()

uk.ac.rdg.resc.jstyx.server.DirectoryOnDisk

Method Todos
refresh(): check for files that have been deleted in the host filesystem

uk.ac.rdg.resc.jstyx.server.FileOnDisk

Method Todos
getFileOrDirectoryOnDisk(): Set file permissions correctly

uk.ac.rdg.resc.jstyx.server.MonitoredFileOnDisk

Class Todos
Start monitoring when the first client opens this file? Stop monitoring when the last client closes the file?
Link refresh() with notifications to clients?

uk.ac.rdg.resc.jstyx.server.StyxFile

Method Todos
removeDeadClients(): do logging to find out whether this method is ever necessary?

uk.ac.rdg.resc.jstyx.server.StyxServerProtocolHandler

Class Todos
Should these methods be more thread-safe, i.e. should we make sure that each method that affects a StyxFile is synchronized on that StyxFile?

uk.ac.rdg.resc.jstyx.server.StyxSessionState

Method Todos
checkExecute(): Call this "CheckEnter" and make sure that sf is a directory?