ostore.network
Class MyNodeId

java.lang.Object
  |
  +--ostore.util.NodeId
        |
        +--ostore.network.MyNodeId
All Implemented Interfaces:
Digestible, QuickSerializable

public class MyNodeId
extends NodeId

A class to construct a NodeId from a port number and InetAddress. I want this functionality for effeciency in the Network, but I don't want anyone else to use it, as it will mess up the simulator if they do. Thus the port, addr constructor is protected in NodeId, and I make it public here.

Version:
$Id: MyNodeId.java,v 1.1 2001/11/28 02:18:17 srhea Exp $
Author:
Sean C. Rhea

Inner classes inherited from class ostore.util.NodeId
NodeId.BadFormat
 
Fields inherited from class ostore.util.NodeId
DEBUG, TYPE_CODE
 
Constructor Summary
MyNodeId(int port, InetAddress addr)
           
 
Methods inherited from class ostore.util.NodeId
add_to_digest, address, equals, hashCode, less_than, port, to_bytes, toString, type_code
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyNodeId

public MyNodeId(int port,
                InetAddress addr)