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

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

** This method raises an error - it must be redefined in concrete classes **

initialization
o  initialize
ComancheService initialize

instance creation
o  named: aString

queries
o  isAbstract

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

actions
o  processNetworkRequest: aComancheHttpRequest

o  separateHeaderFromData: aStream

initialization
o  initialize

o  setupModule

printing & storing
o  nameInSettingsTable

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 20 Apr 2024 07:02:57 GMT