DRCL JavaSim API

drcl.comp
Class Util.Link

java.lang.Object
  |
  +--drcl.DrclObj
        |
        +--drcl.comp.Util.Link
All Implemented Interfaces:
java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
Enclosing class:
Util

public static class Util.Link
extends DrclObj

The class describes a uni-directional connection between two ports.

See Also:
Serialized Form

Field Summary
 Port from
           
 Component nextHop
           
 Port to
           
 
Constructor Summary
Util.Link(Port from_, Component next_, Port to_)
           
Util.Link(Port from_, Port to_)
           
 
Method Summary
 void duplicate(java.lang.Object source_)
          opies the content of the source_ object to this object.
 java.lang.String toString()
           
 
Methods inherited from class drcl.DrclObj
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

from

public Port from

to

public Port to

nextHop

public Component nextHop
Constructor Detail

Util.Link

public Util.Link(Port from_,
                 Port to_)

Util.Link

public Util.Link(Port from_,
                 Component next_,
                 Port to_)
Method Detail

duplicate

public void duplicate(java.lang.Object source_)
Description copied from class: DrclObj
opies the content of the source_ object to this object. he subclass must implement this method to realize DrclObj.clone().
Overrides:
duplicate in class DrclObj

toString

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

DRCL JavaSim API

Copyright © 2001 - DRCL, OSU     ~ Back to JavaSim Home ~