Class RealObject.ContentsMessager

java.lang.Object
  |
  +--RealObject.ContentsMessager
Enclosing class:
RealObject

class RealObject.ContentsMessager
extends java.lang.Object

A class that's used for sending identical messages to lots of objects, usually all those in a Room. It's never instantiated directly, but many of its nameless children are.


Field Summary
protected  java.lang.Object myObject
           
 
Constructor Summary
(package private) RealObject.ContentsMessager(java.lang.Object argObject)
          The constructor lets you pass in any object which will get remembered and be available to the message recipients.
 
Method Summary
(package private)  void descendantMessage(RealObject content)
          This is why we created this class in the first place, but it doesn't do anything! Well, the subclasses do.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myObject

protected java.lang.Object myObject
Constructor Detail

RealObject.ContentsMessager

RealObject.ContentsMessager(java.lang.Object argObject)
The constructor lets you pass in any object which will get remembered and be available to the message recipients.
Parameters:
argObject - anything you want to remember
Method Detail

descendantMessage

void descendantMessage(RealObject content)
This is why we created this class in the first place, but it doesn't do anything! Well, the subclasses do. Note that this method should never be called directly by application code, only via tellAll().
Parameters:
content - The object which should handle the message.