interface Directory extends File |
The interface for a directory.
Obtain descriptions for the immediate children of the directory.
Obtain the total number of bytes to be downloaded for a particular configuration.
FileDescSeq getContents() throws FileAccessException, BusyException; |
Obtain descriptions for the immediate children of the directory. This operation does not return the contents of subdirectories.
The descriptions, each of which can be downcast to RegularDesc or DirectoryDesc.
Raised if a file or directory cannot be accessed.
Raised if the server is busy.
long getTotal(::Ice::ByteSeq md5) throws FileAccessException, BusyException; |
Obtain the total number of bytes to be downloaded for a particular configuration.
The message digest of the client's existing configuration. If the given sequence is empty, then the return value represents the size of the entire directory, including all subdirectories. If the sequence is not empty, and the message digest corresponds to a configuration that is known by the server, then the return value represents the number of bytes to be downloaded in order to update the client's directory to match the server's.
The sum in bytes of the sizes of all BZ2 files to be downloaded for the configuration. If the given message digest does not match any known configurations, -1 is returned.
Raised if a file or directory cannot be accessed.
Raised if the server is busy.
<<< Previous | Home | Next >>> |
IcePatch::BusyException | Up | IcePatch::DirectoryDesc |