Google

JanosVM v0.6.0 Java API Documentation: Class Facsimile
JanosVM v0.6.0 Java API

edu.utah.janosvm.kit.comm.amiga
Class Facsimile

java.lang.Object
  |
  +--edu.utah.janosvm.sys.ListNode
        |
        +--edu.utah.janosvm.kit.comm.amiga.Facsimile

public class Facsimile
extends ListNode
implements CrossTeamCloneable, java.lang.Cloneable

NOTE: Facsimile is used since the message will be copied into the other team instead of just sharing like a Message.


Fields inherited from class edu.utah.janosvm.sys.ListNode
pred, succ
 
Fields inherited from interface java.lang.Cloneable
KAFFE_VERSION
 
Constructor Summary
Facsimile()
           
 
Method Summary
 java.lang.Object clone()
          Clone a ListNode.
 FaxPortHandle getReplyPort()
           
 boolean isReply()
           
protected  void reply()
          Send this fax back as a reply.
 void setReplyPort(FaxPortHandle mp)
          Set the reply port for this fax.
 java.lang.String toString()
           
 
Methods inherited from class edu.utah.janosvm.sys.ListNode
append, prepend, remove
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Facsimile

public Facsimile()
Method Detail

setReplyPort

public void setReplyPort(FaxPortHandle mp)
Set the reply port for this fax.
Parameters:
mp - The port to expect replies on.

getReplyPort

public FaxPortHandle getReplyPort()
Returns:
The reply port for this fax.

isReply

public boolean isReply()
Returns:
Whether or not this fax is a reply to another.

reply

protected void reply()
              throws DeadTeamException,
                     TeamEjectionException
Send this fax back as a reply.
Throws:
Throws - DeadTeamException if the destination port's owner team is dead.

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

toString

public java.lang.String toString()
Overrides:
toString in class ListNode

JanosVM v0.6.0 Java API

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