nslj.src.lang
Class NslPort

java.lang.Object
  |
  +--nslj.src.lang.NslPort
Direct Known Subclasses:
NslInport, NslOutport

public abstract class NslPort
extends java.lang.Object


Field Summary
protected  boolean bufferingChanged
           
protected  boolean doubleBuffering
           
static int INPORT
           
static int OUTPORT
           
 NslModule owner
           
 
Constructor Summary
NslPort()
           
NslPort(NslData n)
           
NslPort(java.lang.String name, NslData n)
           
 
Method Summary
 boolean bufferingHasChanged()
           
abstract  NslData getData()
           
 NslModule getOwner()
           
 int getType()
          get the type (INport or OUTport) of this port
abstract  boolean isInitialized()
          Check if this port is initialized
 boolean nslGetBuffering()
           
 java.lang.String nslGetName()
          get the name of this port
 void nslSetBuffering(boolean v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPORT

public static final int OUTPORT

INPORT

public static final int INPORT

doubleBuffering

protected boolean doubleBuffering

bufferingChanged

protected boolean bufferingChanged

owner

public NslModule owner
Constructor Detail

NslPort

public NslPort(java.lang.String name,
               NslData n)

NslPort

public NslPort()

NslPort

public NslPort(NslData n)
Method Detail

nslGetName

public java.lang.String nslGetName()
get the name of this port

nslSetBuffering

public void nslSetBuffering(boolean v)

bufferingHasChanged

public boolean bufferingHasChanged()

nslGetBuffering

public boolean nslGetBuffering()

getType

public int getType()
get the type (INport or OUTport) of this port
Returns:
NslPort.OUTPORT / NslPort.INPORT

isInitialized

public abstract boolean isInitialized()
Check if this port is initialized
Returns:
true if initialized.

getData

public abstract NslData getData()

getOwner

public NslModule getOwner()