firstworks Rudiments Reference

Rudiments Reference

Classes:

The rudiments class library consists of several classes. Some are utility classes, others are designed to be base classes for software.

- Base Classes:
  - daemonprocess - base class for daemons
  - serversocket - base class for tcp stream servers
  - serversocketpool - base class for pools of tcp stream server sockets
  - clientsocket - base class for tcp stream clients
- Utility Classes:
  - commandline - command line processing class
  - datetime - date/time processing class
  - randomnumber - class for generating random numbers
  - regularexpression - class for dealing with regular expressions
  - semaphoreset - semaphore class
  - sharedmemory - shared memory class
  - signalclasses - classes with methods for managing signals
  - text - text processing and evaluation class

As a rule of thumb, the base classes should be inherited from and the utility classes should be instantiated as needed. Some of the utility classes have static methods which can be called directly without instantiating an instance of the class.