JanosVM v1.0 API

java.lang.isolate
Class OneWayLink_RendezvousImport

java.lang.Object
  |
  +--edu.utah.janosvm.sys.ListNode
        |
        +--edu.utah.janosvm.sys.Importable
              |
              +--java.lang.isolate.OneWayLink_RendezvousImport

class OneWayLink_RendezvousImport
extends Importable

Importable reference to a OneWayLink_RendezvousPoint. Only created inside reciever teams, the OneWayLink_RendezvousPoint is always created inside sender teams.


Field Summary
private  OneWayLink_RendezvousPoint rendezvousPoint
          Reference to the rendezvous point object in the sender team.
private  TeamHandle sender
           
 
Fields inherited from class edu.utah.janosvm.sys.Importable
em
 
Fields inherited from class edu.utah.janosvm.sys.ListNode
pred, succ
 
Constructor Summary
private OneWayLink_RendezvousImport(TeamHandle sender)
           
 
Method Summary
protected  void bindTo(Exportable ex)
          Invoked when this importable is bound to a OneWayLink_RendezvousPoint.
(package private)  void close()
           
(package private)  boolean isOpen()
           
(package private) static OneWayLink_RendezvousImport newInstance(TeamHandle sender, java.lang.String name)
          Create a new OneWayLink_RendezvousImport that points to the given Team's OneWayLink_RendezvousPoint.
(package private)  IsolateMessage receive()
           
private static IsolateMessage returnWithMessage(java.lang.Object rc)
           
 java.lang.String toString()
           
private  java.lang.Object translateFetchedMessage(java.lang.Object rc)
           
protected  void unbindFrom()
          Invoked when this Importable is being broken.
 
Methods inherited from class edu.utah.janosvm.sys.Importable
copy, finalize, getExportManager, revoke, setExportManager
 
Methods inherited from class edu.utah.janosvm.sys.ListNode
append, clone, inList, prepend, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0
 

Field Detail

rendezvousPoint

private OneWayLink_RendezvousPoint rendezvousPoint
Reference to the rendezvous point object in the sender team. If this is null, then the connection is closed.

sender

private final TeamHandle sender
Constructor Detail

OneWayLink_RendezvousImport

private OneWayLink_RendezvousImport(TeamHandle sender)
Method Detail

newInstance

static OneWayLink_RendezvousImport newInstance(TeamHandle sender,
                                               java.lang.String name)
Create a new OneWayLink_RendezvousImport that points to the given Team's OneWayLink_RendezvousPoint.

bindTo

protected void bindTo(Exportable ex)
Invoked when this importable is bound to a OneWayLink_RendezvousPoint. Should only happen once.
Overrides:
bindTo in class Importable
Following copied from class: edu.utah.janosvm.sys.Importable
Parameters:
ex - The Exportable that is being imported.

unbindFrom

protected void unbindFrom()
Invoked when this Importable is being broken.
Overrides:
unbindFrom in class Importable
Following copied from class: edu.utah.janosvm.sys.Importable
See Also:
TeamHandle.cancelImport(edu.utah.janosvm.sys.Importable), Team.revokeObject(java.lang.Object), TeamHandle.terminate()

close

void close()

isOpen

boolean isOpen()

translateFetchedMessage

private java.lang.Object translateFetchedMessage(java.lang.Object rc)
                                          throws ClosedLinkException

returnWithMessage

private static IsolateMessage returnWithMessage(java.lang.Object rc)
                                         throws ClosedLinkException

receive

IsolateMessage receive()
                 throws ClosedLinkException

toString

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

JanosVM v1.0 API

This documentation is Copyright (C) 2000-2003 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 Feb 13, 2003