com.scottpreston.javarobot.chapter2
Class SingleSerialPort

java.lang.Object
  extended by com.scottpreston.javarobot.chapter2.SingleSerialPort

public class SingleSerialPort
extends java.lang.Object


Method Summary
static void close(int comid)
           
static void closeAll()
           
static StandardSerialPort getInstance(int comid)
           
static StandardSerialPort getInstance(int comid, int baud)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StandardSerialPort getInstance(int comid)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getInstance

public static StandardSerialPort getInstance(int comid,
                                             int baud)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

close

public static void close(int comid)

closeAll

public static void closeAll()