JNodeOS v1.1.5 API

edu.utah.janos.nodeos
Class NetworkSpec

java.lang.Object
  |
  +--edu.utah.janos.nodeos.NetworkSpec

public final class NetworkSpec
extends java.lang.Object

The NetworkSpec is used to specify the network needs for an OutChannel in a flow.


Field Summary
static byte ABSOLUTE
          Indicates that any values in the spec are absolute and not relative to the capability of the physical link.
static byte DIVISOR
          Indicates that the maximum values for a link should be divided by any values in the spec to get the desired value.
 
Constructor Summary
NetworkSpec()
          Construct a NetworkSpec with a reasonable set of default values.
NetworkSpec(int bandwidth, byte kind)
          Construct a NetworkSpec that indicates the needed bandwidth.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIVISOR

public static final byte DIVISOR
Indicates that the maximum values for a link should be divided by any values in the spec to get the desired value.

ABSOLUTE

public static final byte ABSOLUTE
Indicates that any values in the spec are absolute and not relative to the capability of the physical link.
Constructor Detail

NetworkSpec

public NetworkSpec(int bandwidth,
                   byte kind)
Construct a NetworkSpec that indicates the needed bandwidth.

NetworkSpec

public NetworkSpec()
Construct a NetworkSpec with a reasonable set of default values.

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/