1.0.0

org.eclipse.soda.dk.comm
Class NSDeviceOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.eclipse.soda.dk.comm.NSDeviceOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class NSDeviceOutputStream
extends java.io.OutputStream


Field Summary
(package private)  int fd
           
 
Constructor Summary
NSDeviceOutputStream(CommPort port, int portType)
           
 
Method Summary
 void flush()
           
 int getPt()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int i)
           
 
Methods inherited from class java.io.OutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fd

int fd
Constructor Detail

NSDeviceOutputStream

NSDeviceOutputStream(CommPort port,
                     int portType)
Method Detail

getPt

public int getPt()

write

public void write(int i)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream
Throws:
java.io.IOException

1.0.0

Copyright (c) 1999, 2007 IBM