net.rmi.dfs
Class DFSImplementation
java.lang.Object
   java.rmi.server.RemoteObject
java.rmi.server.RemoteObject
       java.rmi.server.RemoteServer
java.rmi.server.RemoteServer
           java.rmi.server.UnicastRemoteObject
java.rmi.server.UnicastRemoteObject
               net.rmi.dfs.DFSImplementation
net.rmi.dfs.DFSImplementation
- All Implemented Interfaces: 
- java.io.Serializable, java.rmi.Remote, DFSInterface
- public class DFSImplementation 
- extends java.rmi.server.UnicastRemoteObject- implements DFSInterface
- See Also:
- Serialized Form
 
 
| Method Summary | 
|  void | cd(java.lang.String dir)
 | 
|  byte[] | getFile(java.lang.String fileName)
 | 
|  java.lang.String[] | ls()
 | 
|  void | mkdir(java.lang.String dir)
 | 
|  void | putFile(java.lang.String fileName,
        byte[] data)
 | 
 
| Methods inherited from class java.rmi.server.UnicastRemoteObject | 
| clone, exportObject, exportObject, exportObject, unexportObject | 
 
| Methods inherited from class java.rmi.server.RemoteServer | 
| getClientHost, getLog, setLog | 
 
| Methods inherited from class java.rmi.server.RemoteObject | 
| equals, getRef, hashCode, toString, toStub | 
 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, wait, wait, wait | 
 
REMOTE_NAME
public static java.lang.String REMOTE_NAME
DFSImplementation
public DFSImplementation()
                  throws java.rmi.RemoteException
- Throws:
- java.rmi.RemoteException
getFile
public byte[] getFile(java.lang.String fileName)
               throws java.rmi.RemoteException
- 
- Specified by:
- getFilein interface- DFSInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
putFile
public void putFile(java.lang.String fileName,
                    byte[] data)
             throws java.rmi.RemoteException
- 
- Specified by:
- putFilein interface- DFSInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
ls
public java.lang.String[] ls()
                      throws java.rmi.RemoteException
- 
- Specified by:
- lsin interface- DFSInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
mkdir
public void mkdir(java.lang.String dir)
           throws java.rmi.RemoteException
- 
- Specified by:
- mkdirin interface- DFSInterface
 
- 
- Throws:
- java.rmi.RemoteException
 
cd
public void cd(java.lang.String dir)
        throws java.rmi.RemoteException
- 
- Specified by:
- cdin interface- DFSInterface
 
- 
- Throws:
- java.rmi.RemoteException