Bees v0.5.0 API

bees.core.resource
Class NodeOSNeighborFactory

java.lang.Object
  |
  +--bees.core.resource.NodeOSNeighborFactory

public final class NodeOSNeighborFactory
extends java.lang.Object

The NodeOSNeighborFactory is used to produce NodeOSNeighbor capabilities from other capabilities.


Constructor Summary
NodeOSNeighborFactory()
          Construct a NodeOSNeighborFactory.
 
Method Summary
 NeighborImpl create(NetworkService local, NetworkService remote, PermissionSet address)
          Create a NodeOSNeighbor from the given capabilities.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeOSNeighborFactory

public NodeOSNeighborFactory()
Construct a NodeOSNeighborFactory.
Method Detail

create

public NeighborImpl create(NetworkService local,
                           NetworkService remote,
                           PermissionSet address)
                    throws EnumerationException
Create a NodeOSNeighbor from the given capabilities.
Parameters:
local - The local NetworkService permissions.
remote - The remote NetworkService permissions.
address - A set of Permissions that describe the desired connection between the local and remote NetworkServices.
Returns:
A NodeOSNeighbor capability.
Throws:
EnumerationException - if the NetworkInterface doesn't have a supported "protocol" permission.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/