/* SCCS - @(#)NslDinInt4.java 1.11 - 09/01/99 - 00:16:39 */ // Copyright: Copyright (c) 1997 University of Southern California Brain Project. // Copyright: This software may be freely copied provided the toplevel // Copyright: COPYRIGHT file is included with each such copy. // Copyright: Email nsl@java.usc.edu. // NslDinInt4.java //////////////////////////////////////////////////////////////////////////////// package nslj.src.lang; public class NslDinInt4 extends NslInt4 { NslInport inport=null; public NslDinInt4(NslModule owner) { super(); attachPort(owner); } public NslDinInt4(NslModule owner,String name) { super(name); attachPort(owner); } public NslDinInt4(String name,NslModule owner) { super(name,owner); attachPort(owner); } public NslDinInt4(String name, NslModule owner, int dummy1, int dummy2, int dummy3, int dummy4) { super(name,owner); attachPort(owner); } private void attachPort(NslModule owner) { // System.out.println("Attaching "+this+" to module "+owner); inport=new NslInport(this); inport.owner=owner; owner.nslAddExistingInport(inport); /* Add to owner's inport list */ } public NslInport getInport() { return(inport); } public NslPort nslGetPort() { return(inport); } } // NslDinInt4.java ////////////////////////////////////////////////////////////////////////////////