at.jku.fim.datalinksimulation.genericdevices
Class HardwareComponent

java.lang.Object
  extended by at.jku.fim.datalinksimulation.genericdevices.HardwareComponent
Direct Known Subclasses:
InterlinkingDevice, Wire

public abstract class HardwareComponent
extends java.lang.Object

Title: OSI Simulation Framework

Copyright: (c) 2004-05

Company: FIM@JKU, www.fim.uni-linz.ac.at

Version:
$Id: HardwareComponent.java,v 1.1 2005/10/27 13:10:07 aputzinger Exp $
Author:
Andreas Putzinger

Field Summary
private static int componentIDCounter
          each hardware component gets it's unique id
protected  int networkComponentId
          Personal hardware component ID of this instance
These components
 
Constructor Summary
HardwareComponent()
          Constructor
 
Method Summary
 int getNetworkComponentId()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

componentIDCounter

private static int componentIDCounter
each hardware component gets it's unique id


networkComponentId

protected int networkComponentId
Personal hardware component ID of this instance
These components

Constructor Detail

HardwareComponent

public HardwareComponent()
Constructor

Method Detail

getNetworkComponentId

public int getNetworkComponentId()
Returns:
Returns Network Component ID

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object