Class HarvesterMessage

    • Constructor Detail

      • HarvesterMessage

        protected HarvesterMessage​(ChannelID to,
                                   ChannelID replyTo)
        Creates a new HarvesterMessage.
        Parameters:
        to - the initial receiver of the message
        replyTo - the initial sender of the message
        Throws:
        ArgumentNotValid - if to==replyTo or there is a null parameter.
    • Method Detail

      • accept

        public abstract void accept​(HarvesterMessageVisitor v)
        Should be implemented as a part of the visitor pattern. fx.: public void accept(HarvesterMessageVisitor v) { v.visit(this); }
        Parameters:
        v - A message visitor