|
Class: RemoteImage
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
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)
copyrightCOPYRIGHT (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.
accessing
-
lastHost
-
instance creation
-
onHost: aHostName port: portOrNil
-
namespace mimicri
-
name
-
private
-
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
-
hostName
-
-
onHost: aHostName port: portOrNil
-
ping it
-
remoteImageClient
-
proxy support
-
getAllShortMethodStubsFor: aClassProxy
-
new scheme
-
getInfoForClassNamed: name
-
new scheme
-
getInfoForMethodNamed: selector inClass: classProxy
-
new scheme
smalltalk protocol
-
allClassesDo: aBlock
-
-
allClassesInCategory: aCategory
-
-
allClassesInCategory: aCategory do: aBlock
-
evaluate the argument, aBlock for all classes in the aCategory;
The order of the classes is not defined.
-
at: aKey
-
(comment from inherited method)
return the indexed instance variable with index, anInteger;
this method can be redefined in subclasses.
-
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.
-
fetchAllClasses
-
new scheme
-
hasNameSpaces
-
-
isNameSpace
-
(comment from inherited method)
return true if the receiver is a NameSpace.
False is returned here - the method is only redefined in Namespace.
-
isRemoteImage
-
-
keysAndValuesDo: aTwoArgBlock
-
globals isNil ifTrue:[
Usage example(s):
globals keysAndValuesDo:aTwoArgBlock
|
SystemBrowser openOnRemoteImageOnHost:'funkfix' port:nil
SystemBrowser openOnRemoteImageOnHost:'192.168.8.1' port:nil
SystemBrowser openOnRemoteImageOnHost:'127.0.0.1' port:8881
|