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.11 date: 2021/04/09 17:51:43
user: cg
file: RemoteImage.st directory: goodies/communication
module: stx stc-classLibrary: communication

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)

copyright

COPYRIGHT (c) 2002 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:

accessing
o  lastHost

instance creation
o  onHost: aHostName port: portOrNil


Instance protocol:

namespace mimicri
o  name

private
o  finalize
(comment from inherited method)
this is invoked for executor objects which have been registered
in a Registry, when the original object dies.
Subclasses may redefine this method
This interface is also VW-compatible

o  hostName

o  onHost: aHostName port: portOrNil
ping it

o  remoteImageClient

proxy support
o  getAllShortMethodStubsFor: aClassProxy
new scheme

o  getInfoForClassNamed: name
new scheme

o  getInfoForMethodNamed: selector inClass: classProxy
new scheme

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
(comment from inherited method)
return the indexed instance variable with index, anInteger;
this method can be redefined in subclasses.

o  at: aKey ifAbsent: exceptionValue
(comment from inherited method)
return the indexed instance variable with index, anInteger.
If there is no such key, return the value from exceptionalValue.
This method is usually be redefined in subclasses.

o  fetchAllClasses
new scheme

o  hasNameSpaces

o  isNameSpace
(comment from inherited method)
return true if the receiver is a NameSpace.
False is returned here - the method is only redefined in Namespace.

o  isRemoteImage

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
SystemBrowser openOnRemoteImageOnHost:'127.0.0.1' port:8881


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 11:52:34 GMT