Back: Dictionary-testing Up: Base classes Forward: DirectedMessage class-creating instances   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.63 DirectedMessage

Defined in namespace Smalltalk
Superclass: Message
Category: Language-Implementation
I represent a message send: I contain the receiver, selector and arguments for a message.

1.63.1 DirectedMessage class: creating instances  (class)
1.63.2 DirectedMessage: accessing  (instance)
1.63.3 DirectedMessage: basic  (instance)
1.63.4 DirectedMessage: multiple process  (instance)
1.63.5 DirectedMessage: saving and loading  (instance)


1.63.1 DirectedMessage class: creating instances

receiver: anObject selector: aSymbol
Create a new instance of the receiver

receiver: receiverObject selector: aSymbol argument: argumentObject
Create a new instance of the receiver

receiver: anObject selector: aSymbol arguments: anArray
Create a new instance of the receiver

selector: aSymbol arguments: anArray
This method should not be called for instances of this class.

selector: aSymbol arguments: anArray receiver: anObject
Create a new instance of the receiver


1.63.2 DirectedMessage: accessing

receiver
Answer the receiver

receiver: anObject
Change the receiver


1.63.3 DirectedMessage: basic

printOn: aStream
Print a representation of the receiver on aStream

send
Send the message

value
Send the message (this message provides interoperability between DirectedMessages and blocks)

value: anObject
Send the message with the sole argument anObject (this message provides interoperability between DirectedMessages and blocks)

value: obj1 value: obj2
Send the message with the arguments obj1 and obj2 (this message provides interoperability between DirectedMessages and blocks)

valueWithArguments: anArray
Send the message with the arguments replaced by anArray (this message provides interoperability between DirectedMessages and blocks)


1.63.4 DirectedMessage: multiple process

fork
Create a new process executing the receiver and start it

forkAt: priority
Create a new process executing the receiver with given priority and start it

newProcess
Create a new process executing the receiver in suspended state. The priority is the same as for the calling process. The receiver must not contain returns


1.63.5 DirectedMessage: saving and loading

reconstructOriginalObject
This method is used when DirectedMessages are used together with PluggableProxies (see ObjectDumper). It sends the receiver to reconstruct the object that was originally stored.



Back: DirectedMessage-multiple process Up: DirectedMessage Forward: Directory   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on August, 19 2010 using texi2html