All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.core.AddressFactory
java.lang.Object
   |
   +----edu.utah.janos.core.AddressFactory

  Summary

public class  AddressFactory
     extends java.lang.Object
{
          // Constructors 1
     AddressFactory();

          // Methods 1
     public Address newAddress(int, String, int) throws NoSuchNodeAddress;
}

The Factory for creating Address objects. Only one Address factory is created, and it is created by Address.getAddressFactory(). This is intended to allow the Routing Table code (which is semi-trusted) to be outside of the Core.


  Cross Reference

Returned By:
Address.getAddressFactory()





  Constructors

· AddressFactory

Summary  |  Top
   AddressFactory() 

Package-private constructor. Only invoked in Address.getAddressFactory().

See Also: Address.getAddressFactory



  Methods

· newAddress

Summary  |  Top
   public Address newAddress(int anAddress, 
                             String iNetHostAddr, 
                             int iNetPort)  throws NoSuchNodeAddress

Construct a new Address object for the given internet host and port.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7