Uses of Interface
jmri.jmrix.SerialPort
-
Packages that use SerialPort Package Description jmri.jmrix Interfaces and implementations for system-specific code.jmri.jmrix.fakeport jmri.jmrix.jserialcomm jmri.jmrix.ncemonitor jmri.jmrix.powerline This package handles communications for powerline adapters, such as X10.jmri.jmrix.purejavacomm -
-
Uses of SerialPort in jmri.jmrix
Fields in jmri.jmrix declared as SerialPort Modifier and Type Field Description protected SerialPort
AbstractSerialPortController. currentSerialPort
Methods in jmri.jmrix that return SerialPort Modifier and Type Method Description static SerialPort
AbstractSerialPortController. activatePort(java.lang.String systemPrefix, java.lang.String portName, org.slf4j.Logger log, int stop_bits, SerialPort.Parity parity)
Do the formal opening of the port, set the port for blocking reads without timeout, set the port to 8 data bits, the indicated number of stop bits and parity, and purge the port's input stream.protected SerialPort
AbstractSerialPortController. activatePort(java.lang.String portName, org.slf4j.Logger log)
Do the formal opening of the port, set the port for blocking reads without timeout, set the port to 8 data bits, 1 stop bit, no parity and purge the port's input stream.protected SerialPort
AbstractSerialPortController. activatePort(java.lang.String portName, org.slf4j.Logger log, int stop_bits)
Do the formal opening of the port, set the port for blocking reads without timeout, set the port to 8 data bits, the indicated number of stop bits, no parity, and purge the port's input stream.Methods in jmri.jmrix with parameters of type SerialPort Modifier and Type Method Description protected void
AbstractSerialPortController. closeSerialPort(SerialPort serialPort)
Cleanly close the specified portprotected void
AbstractSerialPortController. configureLeads(SerialPort serialPort, boolean rts, boolean dtr)
Set the control leads.protected AbstractSerialPortController.FlowControl
AbstractSerialPortController. getFlowControl(SerialPort serialPort)
get the flow control mode back from the actual port.protected void
AbstractSerialPortController. setBaudRate(SerialPort serialPort, int baud)
Set the baud rate on the portprotected void
AbstractSerialPortController. setComPortTimeouts(SerialPort serialPort, AbstractSerialPortController.Blocking blocking, int timeout)
protected void
AbstractSerialPortController. setDataListener(SerialPort serialPort, SerialPortDataListener serialPortDataListener)
Add a data listener to the specified portprotected void
AbstractSerialPortController. setFlowControl(SerialPort serialPort, AbstractSerialPortController.FlowControl flow)
Configure the flow control settings. -
Uses of SerialPort in jmri.jmrix.fakeport
Classes in jmri.jmrix.fakeport that implement SerialPort Modifier and Type Class Description class
FakeSerialPort
Implementation of a fake serial port. -
Uses of SerialPort in jmri.jmrix.jserialcomm
Classes in jmri.jmrix.jserialcomm that implement SerialPort Modifier and Type Class Description class
JSerialPort
Implementation of serial port using jSerialComm. -
Uses of SerialPort in jmri.jmrix.ncemonitor
Fields in jmri.jmrix.ncemonitor declared as SerialPort Modifier and Type Field Description (package private) SerialPort
NcePacketMonitorPanel. activeSerialPort
-
Uses of SerialPort in jmri.jmrix.powerline
Methods in jmri.jmrix.powerline that return SerialPort Modifier and Type Method Description SerialPort
SerialSystemConnectionMemo. getActiveSerialPort()
Provide access to the serial port for this connectionMethods in jmri.jmrix.powerline with parameters of type SerialPort Modifier and Type Method Description void
SerialSystemConnectionMemo. setActiveSerialPort(SerialPort sp)
-
Uses of SerialPort in jmri.jmrix.purejavacomm
Constructors in jmri.jmrix.purejavacomm with parameters of type SerialPort Constructor Description SerialPort(SerialPort serialPort)
-