C# Class nameServerClass.NameServer

Inheritance: System.MarshalByRefObject
Show file Open project: stachupl/MNFS Class Usage Examples

Public Methods

Method Description
NameServer ( ) : System
cat ( string path ) : ArrayList
cp ( string filePath, string destination ) : ArrayList
finddir ( string path, string name ) : ArrayList
findfile ( string path, string name ) : ArrayList
ls ( string path ) : string
mkdir ( string path, string name ) : string
mv ( string sourcePath, string destinationPath ) : string
read ( string path ) : ArrayList
rename ( string path, string name ) : string
renamedir ( string path, string name ) : string
rm ( string path ) : string
rmdir ( string path ) : string
touch ( string path, string name ) : string
write ( string path ) : FileNetworkAddress

Private Methods

Method Description
createFile ( string ip, string port ) : string
removeFile ( string ip, string port, string name ) : bool

Method Details

NameServer() public method

public NameServer ( ) : System
return System

cat() public method

public cat ( string path ) : ArrayList
path string
return System.Collections.ArrayList

cp() public method

public cp ( string filePath, string destination ) : ArrayList
filePath string
destination string
return System.Collections.ArrayList

finddir() public method

public finddir ( string path, string name ) : ArrayList
path string
name string
return System.Collections.ArrayList

findfile() public method

public findfile ( string path, string name ) : ArrayList
path string
name string
return System.Collections.ArrayList

ls() public method

public ls ( string path ) : string
path string
return string

mkdir() public method

public mkdir ( string path, string name ) : string
path string
name string
return string

mv() public method

public mv ( string sourcePath, string destinationPath ) : string
sourcePath string
destinationPath string
return string

read() public method

public read ( string path ) : ArrayList
path string
return System.Collections.ArrayList

rename() public method

public rename ( string path, string name ) : string
path string
name string
return string

renamedir() public method

public renamedir ( string path, string name ) : string
path string
name string
return string

rm() public method

public rm ( string path ) : string
path string
return string

rmdir() public method

public rmdir ( string path ) : string
path string
return string

touch() public method

public touch ( string path, string name ) : string
path string
name string
return string

write() public method

public write ( string path ) : FileNetworkAddress
path string
return FileTreeLibrary.FileNetworkAddress