eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RemoteImage':

Home

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

Class: RemoteImage


Inheritance:

   Object
   |
   +--RemoteImage

Package:
stx:goodies/communication
Category:
System-Support
Version:
rev: 1.4 date: 2013/07/05 10:40:15
user: stefan
file: RemoteImage.st directory: goodies/communication
module: stx stc-classLibrary: communication
Author:
Claus Gittinger

Description:


I simulate a Smalltalk environment as present in a living remote image.
My protocol mimics the NameSpace (i.e. class-environment) protocol,
and I can be used as a Browsers environment, in order to open a
browser into another running smalltalk.

This enables a standard browser to peek into another image... (well, almost)


Class protocol:

instance creation
o  onHost: aHostName port: portOrNil


Instance protocol:

private
o  finalize

o  hostName

o  onHost: aHostName port: portOrNil
ping it

o  remoteImageClient

smalltalk protocol
o  allClassesDo: aBlock

o  allClassesInCategory: aCategory

o  allClassesInCategory: aCategory do: aBlock
evaluate the argument, aBlock for all classes in the aCategory;
The order of the classes is not defined.

o  at: aKey

o  at: aKey ifAbsent: exceptionValue

o  fetchAllClasses

o  keysAndValuesDo: aTwoArgBlock
globals isNil ifTrue:[

usage example(s):

globals keysAndValuesDo:aTwoArgBlock


Examples:


SystemBrowser openOnRemoteImageOnHost:'funkfix' port:nil SystemBrowser openOnRemoteImageOnHost:'192.168.8.1' port:nil

ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 10:15:10 GMT