home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / metamail / contrib / ServiceMail / doc / services / dis.doc < prev    next >
Encoding:
Text File  |  1992-07-06  |  1.6 KB  |  47 lines

  1. NAME
  2.  
  3. dis
  4.  
  5. SYNOPSIS
  6.  
  7. dis [[interspersed | separate]]
  8. Contents: DIS commands
  9.  
  10. DESCRIPTION
  11.  
  12. This service will access DIS, the Distributed Information Service.  The input
  13. is the language-independent version of DIS, e.g. 
  14.  
  15. (object?  foo) 
  16.  
  17. one command per line. Commands and return values in the
  18. language-independent version are all delimited by parentheses.  The
  19. results will be returned in a similar fashion. The answers can either
  20. be
  21.  
  22. 1) interspersed, in which case the resulting message alternates commands with
  23. the results (the default); or
  24. 2) separate, in which case the response is a multipart message where the first
  25. part contains the results and the second part contains the
  26. corresponding commands.
  27.  
  28. DIS provides persistant object storage and object-based network services.
  29. Here are some sample functions that can be used to navigate through the 
  30. objects of DIS:
  31.  
  32. (object? foo) -- returns the name of foo if it is an object in DIS else ()
  33.     OBJECT is the object at the root of the object hierarchy, so
  34.     (object? OBJECT) will return (OBJECT)
  35.  
  36. (specializations-of foo) -- returns a list of subclasses of foo
  37. (generalizations-of foo) -- returns a list of superclasses of foo
  38.  
  39. (slots-of foo) -- returns a list of slots of the object foo
  40. (values-of foo (slots*)) -- returns the values of the named slots
  41. (slots-and-values-of foo) -- returns a list of name-value pairs
  42. (facets-of foo s1) -- returns a list of facets of slot s1 of object foo
  43. (facet-values-of foo s1 (facets*)) -- returns the values of the named facets
  44.  
  45. there are many more functions, including those that create objects,
  46. slots, etc., fill in their values, and manipulate
  47. semiconductor-specific concepts