Squeak Class Documentation category index | class index  
 
EToyListenerMorph
  category: Morphic-Collaborative
  superclass: EToyCommunicatorMorph
  subclasses:

EToyListenerMorph new open
EToyListenerMorph startListening.
EToyListenerMorph stopListening.

"
EToyListenerMorph listens for messgaes from other EToy communicators. You need one of these open to receive messages from elsewhere.
- Received Morphs are shown in a list. Items can be grabbed (a copy) or deleted.
- Chat messages are sent to an appropriate EToyChatMorph (created if necessary)
"

instance methods
  as yet unclassified
  addNewObject:thumbForm:sentBy:ipAddress:
delete
initialize
mouseDownEvent:for:
rebuild
startListening
step
stopListening

class methods
  as yet unclassified
  addToGlobalIncomingQueue:
bumpUpdateCounter
commResult:
commResultDeferred:
confirmListening
critical:
descriptionForPartsBin
ensureListenerInCurrentWorld
flashIndicator:
globalIncomingQueue
globalIncomingQueueCopy
initialize
isListening
makeListeningToggle:
removeFromGlobalIncomingQueue:
resetIndicator:
shutDown:
startListening
startUp:
stopListening

instance methods
  as yet unclassified top  
 

addNewObject:thumbForm:sentBy:ipAddress:


 

delete

Remove the receiver as a submorph of its owner and make its new owner be nil.


 

initialize


 

mouseDownEvent:for:


 

rebuild


 

startListening


 

step

Do some periodic activity. Use startStepping/stopStepping to start and stop getting sent this message. The time between steps is specified by this morph's answer to the stepTime message. The generic version dispatches control to the player, if any. The nasty circumlocation about owner's transformation is necessitated by the flexing problem that the player remains in the properties dictionary both of the flex and the real morph. In the current architecture, only the top renderer's pointer to the player should actually be honored for the purpose of firing.


 

stopListening


class methods
  as yet unclassified top  
 

addToGlobalIncomingQueue:


 

bumpUpdateCounter


 

commResult:


 

commResultDeferred:

to be run as part of the UI process in case user interaction is required


 

confirmListening


 

critical:


 

descriptionForPartsBin

If the receiver is a member of a class that would like to be represented in a parts bin, answer the name by which it should be known, and a documentation string to be provided, for example, as balloon help. When the 'nativitySelector' is sent to the 'globalReceiver', it is expected that some kind of Morph will result. The parameters used in the implementation below are for documentation purposes only!


 

ensureListenerInCurrentWorld


 

flashIndicator:


 

globalIncomingQueue


 

globalIncomingQueueCopy


 

initialize


EToyListenerMorph initialize


 

isListening


 

makeListeningToggle:


 

removeFromGlobalIncomingQueue:


 

resetIndicator:


 

shutDown:

This message is sent on system shutdown to registered classes


 

startListening


 

startUp:

This message is sent to registered classes when the system is coming up.


 

stopListening