JanosVM v0.6.0 Java API Documentation: Class Message
edu.utah.janosvm.kit.comm.amiga
Class Message
java.lang.Object
|
+--edu.utah.janosvm.sys.ListNode
|
+--edu.utah.janosvm.kit.comm.amiga.Message
Direct Known Subclasses: TeamListMessage
public class Message extends ListNode implements java.lang.Cloneable
Base class for simple messages that can be sent between threads.
Fields inherited from interface java.lang.Cloneable
KAFFE_VERSION
Methods inherited from class java.lang.Object
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait
Message
public Message ()
setReplyPort
public void setReplyPort (MsgPort mp)
Set the reply port for this message.
Parameters: mp
- The port to expect replies on.
getReplyPort
public MsgPort getReplyPort ()
Returns: The reply port for this message.
isReply
public boolean isReply ()
Returns: Whether or not this message is a reply to another.
reply
public void reply ()
Send this message back as a reply.
clone
public java.lang.Object clone ()
Description copied from class: ListNode
Clone a ListNode. The node is cloned in isolation;
the clone is never on a list, regardless of the state
of the original.
Overrides: clone in class ListNode
This documentation is Copyright (C) 2000-2002 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions. Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/ Generated on Mar 17, 2002