package juglr;

/**
 * 
 */
public class Message {

    private Address sender;

    void setSender(Address sender) {
        this.sender = sender;
    }

    public Address getSender() {
        return sender;
    }

    // FIXME use msg classes from putit
}

@@ -20,139 +20,1040 @@
 %0A * 
-%0A */%0Apublic class Message %7B%0A%0A    private Address sender;%0A%0A    void setSender(Address sender) %7B%0A        this.sender = sender;%0A    %7D%0A
+Abstract base class for all message types. It is recommended to use the%0A * %7B@link StructuredMessage%7D  class to transfer messages between actors since%0A * it guarantees %22shared nothing%22 which is important in highly parallel%0A * computation.%0A * %3Cp/%3E%0A * If you need to send specialized messages that can not be seriliazed to%0A * simple Java types, or serialization is too expensive you can subclass%0A * this class to get what you need.%0A *%0A * @see Actor%0A * @see StructuredMessage%0A */%0Apublic class Message %7B%0A%0A    private Address sender;%0A%0A    void setSender(Address sender) %7B%0A        this.sender = sender;%0A    %7D%0A%0A    /**%0A     * Get the %7B@code Address%7D of the %7B@link Actor%7D responsible for sending%0A     * this message. Useful for responding to messages from otherwise unknown%0A     * parties. The sender address is guaranteed to be set when receiving a%0A     * message in %7B@link Actor#react%7D or %7B@link Actor#awaitMessage()%7D.%0A     *%0A     * @return the address of the sender or %7B@code null%7D if this message has%0A     *         not been send%0A     */
 %0A   
@@ -1114,48 +1114,7 @@
    %7D
-%0A%0A    // FIXME use msg classes from putit
 %0A%7D%0A

Document the Message class