eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SunRPC::NFSServer':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: NFSServer (in SunRPC)


Inheritance:

   Object
   |
   +--SunRPC::RPCEndPoint
      |
      +--SunRPC::RPCServer
         |
         +--SunRPC::NFSServer

Package:
stx:goodies/communication
Category:
Net-Communication-SunRPC-NFS
Version:
rev: 1.52 date: 2024/04/22 17:44:11
user: stefan
file: SunRPC_NFSServer.st directory: goodies/communication
module: stx stc-classLibrary: communication

Description:


an nfs daemon (nfsd); see RFC1057 and examples.
*** VERY COOL - see examples in MountServer ***

No need to start separately - will be started by MountServer;
see instructions there.



    SunRPC::NFSServer start
    SunRPC::NFSServer startUDP

    TraceArgs := true.

copyright

COPYRIGHT (c) 2002 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

accessing
o  handleFor: aPath

o  pathForHandle: handleNr

change & update
o  flushCachedClassInfoFor: aClass

o  update: something with: aParameter from: changedObject
Transcript show:'NFSServer: update:' , something storeString.

spec
o  xdr

startup
o  deinitialize
self deinitialize

o  initialize
self initialize
self initDefinitions.


Instance protocol:

helpers
o  allPackages
CachedPackages := nil.
self basicNew allPackages

o  attributesFor: aPathName
Transcript showCR:aPathName.

o  dataFor: aPathName
Transcript showCR:'cache hit ', LastFile pathName.

o  filesFor: dirPath
'windows'

o  handleFor: aPathName

o  physicalFileNameFor: aPathName

o  sourceForClass: cls

o  unpackFileHandle: handle
only the first 4 bytes are used here...

operations
o  create: args
diropargs

o  getattr: args

o  link: args
diropargs

o  lookup: args
diropargs

o  mkdir: args
diropargs

o  read: args
oops - file no longer exists

o  readdir: args
fullName := dirPath asFilename constructString:nm.

o  readlink: args
fhandle

o  remove: args
diropargs

o  rename: args
diropargs

o  rmdir: args
diropargs

o  root
void

o  setattr: args
fhandle

o  statfs: args
should not happen

o  symlink: args
diropargs

o  write: args
ignored

o  writecache
void

queries
o  portNumbers

o  simulatedFileHome


Examples:


SunRPC::NFSServer start
SunRPC::NFSServer startUDP

SunRPC::RPCServer killAll.

SunRPC::NFSServer killAll.
SunRPC::NFSServer initialize


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:49:20 GMT