JNodeOS v1.1.5 API

edu.utah.janos.nodeos
Class CommQueuePuller

java.lang.Object
  |
  +--edu.utah.janosvm.sys.ListNode
        |
        +--edu.utah.janosvm.sys.Importable
              |
              +--edu.utah.janos.nodeos.CommQueuePuller

public final class CommQueuePuller
extends edu.utah.janosvm.sys.Importable

A handle for the owner of the CommQueue to pull elements out of it.


Fields inherited from class edu.utah.janosvm.sys.ListNode
pred, succ
 
Constructor Summary
CommQueuePuller()
          Construct CommQueuePuller handle and a CommQueue for it to pull CommSpaceElements from.
 
Method Summary
 CommSpaceElement waitToTake()
          Take an element from the queue, or wait for one to be added and return that.
 
Methods inherited from class edu.utah.janosvm.sys.Importable
clone, equals, pointsTo
 
Methods inherited from class edu.utah.janosvm.sys.ListNode
append, prepend, remove
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommQueuePuller

public CommQueuePuller()
Construct CommQueuePuller handle and a CommQueue for it to pull CommSpaceElements from.
Method Detail

waitToTake

public CommSpaceElement waitToTake()
                            throws java.lang.InterruptedException
Take an element from the queue, or wait for one to be added and return that.
Returns:
The next element on the queue.

JNodeOS v1.1.5 API

This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/