jmri.util
Class SerialUtil

java.lang.Object
  extended by jmri.util.SerialUtil

public class SerialUtil
extends Object

Common utility methods for working with Serial Ports.

This is a libary of functions for handling specific operations related to serial ports.

In some cases, these routines use may use a JavaComm 3 or later method, falling back to JavaComm 2 if necessary.

Author:
Paul Bender Copyright 2007

Constructor Summary
SerialUtil()
           
 
Method Summary
static void setSerialPortParams(SerialPort activeSerialPort, int baud, int databits, int stopbits, int parity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialUtil

public SerialUtil()
Method Detail

setSerialPortParams

public static void setSerialPortParams(SerialPort activeSerialPort,
                                       int baud,
                                       int databits,
                                       int stopbits,
                                       int parity)
                                throws UnsupportedCommOperationException
Throws:
UnsupportedCommOperationException


Copyright © 1997 - 2009 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads