eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'StandaloneStartupHeadless':

Home

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

Class: StandaloneStartupHeadless


Inheritance:

   Object
   |
   +--StandaloneStartup
      |
      +--StandaloneStartupHeadless

Package:
stx:libbasic
Category:
System-Support
Version:
rev: 1.4 date: 2021/11/26 13:57:01
user: cg
file: StandaloneStartupHeadless.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


When smalltalk is started as IDE (stx), the show starts in Smalltalk>>start.
In contrast, when a standAlone app is linked, 
the show starts in the startup class's start method.

This class is an abstract, subclassable template for a standalone headless-application's startup.
For your own stand alone programs, define a subclass of this, 
and redefine the #main: method there.
(of course, the other methods can also be redefined.)

copyright

COPYRIGHT (c) 2016 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

queries
o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.

o  isHeadless
this is invoked early by Smalltalk>>mainStartup, to ask if I like to
have a Display or if I am a non-GUI headless application



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 17:11:55 GMT