Bees v0.5.0 API

bees.core.resource
Interface AddressComponent


public interface AddressComponent

An AddressComponent is used to translate a permission to a string that can be used in a NodeOS address specification.

See Also:
NodeOSNeighborFactory

Method Summary
 java.lang.String map(java.lang.String type, Permission what)
          Map an address slot type and value to a string suitable for use in a NodeOS address specification.
 

Method Detail

map

public java.lang.String map(java.lang.String type,
                            Permission what)
Map an address slot type and value to a string suitable for use in a NodeOS address specification.
Parameters:
type - A string describing the type of address component.
what - The value to be used when generating the string.
Returns:
The address component string.

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/