eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ComancheService':

Home

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

Class: ComancheService


Inheritance:

   Object
   |
   +--HTTPService
      |
      +--ComancheService
         |
         +--ComancheNetService
         |
         +--ComancheSTTService
         |
         +--ComancheSwikiService

Package:
stx:goodies/webServer/comanche
Category:
Net-Communication-HTTP-Comanche-Mimicry
Version:
rev: 1.29 date: 2018/04/26 10:48:25
user: cg
file: ComancheService.st directory: goodies/webServer/comanche
module: stx stc-classLibrary: comanche

Description:


This class provides a mimicry protocol for Comanche Services (which are subclasses of me).

The protocol is compatible to the corresponding Squeak-ComanceService class.
However, the implementation is for interaction with ST/X's HTTPServer instead of Comanche.


Class protocol:

accessing
o  defaultPriority

o  defaultSearchPriority

change & update
o  update: something with: aParameter from: changedObject
(comment from inherited method)
flush resources on language changes

configuring - setup
o  loadPackage
raise an error: must be redefined in concrete subclass(es)

** This method must be redefined in concrete classes (subclassResponsibility) **

initialization
o  initialize
ComancheService initialize

instance creation
o  named: aString

queries
o  isAbstract
(comment from inherited method)
if true, its not listed in wellknownServices and cannot be instantiated

registration
o  addService: aComancheService named: aString

o  nameForService: aComancheService

o  removeService: aComancheService

o  removeServiceNamed: aString

o  replaceServiceNamed: aString with: aComancheService

o  serviceNamed: aString

o  services

snapshots
o  shutDown

o  startUp


Instance protocol:

accessing
o  autoStart

o  autoStart: aBoolean

o  log

o  log: aLog

o  module
return the value of the instance variable 'module' (automatically generated)

o  name

o  settingSelectors
(comment from inherited method)
answer the selectors that are used to configure a service - i.e. those which are
saved in the webServer-settings file.

actions
o  processNetworkRequest: aComancheHttpRequest

o  separateHeaderFromData: aStream

initialization
o  initialize

o  setupModule

** This method must be redefined in concrete classes (subclassResponsibility) **

printing & storing
o  nameInSettingsTable
(comment from inherited method)
redefined in ComancheService, which adds the module-name

o  printOn: aStream

processing
o  process: aSTXHttpRequest
propertyAt:#localAddress put:self halt;

registration
o  prepareForShutdown
The smalltalk system is about to shutdown

o  prepareForStartup
The smalltalk system just started up

o  registerAs: aString

o  unregister

starting and stopping
o  start
Subclasses may override this method to take whatever
is necessary to start this service

o  stop
Subclasses may override this method to take whatever
is necessary to start this service



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