ostore.network
Class MyNodeId

java.lang.Object
  |
  +--ostore.util.NodeId
        |
        +--ostore.network.MyNodeId
All Implemented Interfaces:
Cloneable, Comparable, 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.2 2002/07/06 01:02:14 srhea Exp $
Author:
Sean C. Rhea

Nested Class Summary
 
Nested classes inherited from class ostore.util.NodeId
NodeId.BadFormat
 
Field Summary
 
Fields inherited from class ostore.util.NodeId
DEBUG
 
Constructor Summary
MyNodeId(InputBuffer buffer)
           
MyNodeId(int port, InetAddress addr)
           
 
Methods inherited from class ostore.util.NodeId
address, clone, compareTo, equals, hashCode, less_than, port, serialize, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyNodeId

public MyNodeId(InputBuffer buffer)
         throws QSException

MyNodeId

public MyNodeId(int port,
                InetAddress addr)