|
Class: ComancheNetService
Object
|
+--HTTPService
|
+--ComancheService
|
+--ComancheNetService
- Package:
- stx:goodies/webServer/comanche
- Category:
- Net-Communication-HTTP-Comanche-Mimicry
- Version:
- rev:
1.10
date: 2018/04/26 10:48:26
- user: cg
- file: ComancheNetService.st directory: goodies/webServer/comanche
- module: stx stc-classLibrary: comanche
Kom48 (Comanche beta 4.8)
bolot 4/2/2001 18:44
Comment from kom46:
I'm a service that sets up a ComancheServer to listen on a given port.
I use a protocol adaptor to adapts TCP/IP based protocol conversations into message based conversations.
protocolAdaptor an object that supports the NetworkProtocolAdaptor class interface
(specifically, I send it #processSocket:target:).
comancheServer an instance of a ComancheServer that handles all the details of setting up to listen for sockets
on a given port.
defaults
-
defaultProtocolAdaptor
-
-
defaultServerClass
-
instance creation
-
named: aString onPort: portNumber
-
-
named: aString onPort: portNumber priority: priorityNum
-
-
named: aString onPort: portNumber priority: priorityNum protocolAdaptor: aPA
-
queries
-
isAbstract
-
accessing
-
comancheServer
-
-
module
-
Answer a ComancheModule that will process network
requests for this ComancheNetService
-
module: aKOMModule
-
-
portNumber
-
-
priority
-
-
protocolAdaptor
-
Answer the NetworkProtocolAdaptor that is being used to
translate Socket based conversations into message based ones.
conversation
-
serve: aSocket
-
Provided for TCP/IP conversations. Works in conjunction with
a ComancheServer. Services that do not serve TCP/IP connections
do not need to implement this method.
defaults
-
defaultProtocolAdaptor
-
-
defaultServerClass
-
initialization
-
initializeOnPort: portNum priority: priorityLevel protocolAdaptor: aPA
-
-
initializeOnPort: portNum priority: priorityLevel protocolAdaptor: aPA serverClass: serverClass
-
mimicry
-
setupModule
-
printing
-
printOn: aStream
-
starting and stopping
-
start
-
(comment from inherited method)
Subclasses may override this method to take whatever
is necessary to start this service
-
stop
-
(comment from inherited method)
Subclasses may override this method to take whatever
is necessary to start this service
|