JNodeOS v1.1.5 API

edu.utah.janos.nodeos
Class AddressFactory

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

public class AddressFactory
extends java.lang.Object

The Factory for creating Address objects. Only one Address factory is created, and it is created by a static initalizer in Address.

Author:
Janos Ministry of Development
See Also:
Address

Method Summary
 Address newAddress(int anAddress, java.lang.String protocolSpec, java.lang.String addressSpec)
          Construct a new Address object that associates the given, virtual "active address" with the physical address described by the addressSpec and its protocolSpec.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newAddress

public Address newAddress(int anAddress,
                          java.lang.String protocolSpec,
                          java.lang.String addressSpec)
                   throws NoSuchNodeAddress
Construct a new Address object that associates the given, virtual "active address" with the physical address described by the addressSpec and its protocolSpec.
Parameters:
anAddress - the 32-bit IPv4-like active address.
protocolSpec - the protocol context for the addressSpec
addressSpec - the address specification
Returns:
a new Address object
See Also:
InChannel.create(Flow,ThreadPoolSpec,DemultiplexKey,String,String,DeliverFunc), Address

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/