BakeoutController-Basic  0.1
A Controller for the Omicron vacuum chamber
Public Member Functions | List of all members
kernel.serial_ports.SerialPort Interface Reference
Inheritance diagram for kernel.serial_ports.SerialPort:
Inheritance graph
[legend]

Public Member Functions

PortCommunicator getCommunicator ()
 
void open () throws PortInUseException, UnsupportedCommOperationException
 
void close ()
 
boolean isPortOpen ()
 
PortConfiguration getConfig ()
 
void setConfig (PortConfiguration newConfig)
 

Detailed Description

Describes what a serial port can do

Definition at line 9 of file SerialPort.java.

Member Function Documentation

void kernel.serial_ports.SerialPort.close ( )

close the port and release it to the world

Implemented in kernel.serial_ports.RXTXPortWrapper.

PortCommunicator kernel.serial_ports.SerialPort.getCommunicator ( )
Returns
The stream wrapper used to obtain the input and output streams for the pot

Implemented in kernel.serial_ports.RXTXPortWrapper.

PortConfiguration kernel.serial_ports.SerialPort.getConfig ( )
Returns
The configuration parameters of the port

Implemented in kernel.serial_ports.RXTXPortWrapper.

boolean kernel.serial_ports.SerialPort.isPortOpen ( )
Returns
true if the port is open, else false

Implemented in kernel.serial_ports.RXTXPortWrapper.

void kernel.serial_ports.SerialPort.open ( ) throws PortInUseException, UnsupportedCommOperationException

Open the port

Implemented in kernel.serial_ports.RXTXPortWrapper.

void kernel.serial_ports.SerialPort.setConfig ( PortConfiguration  newConfig)

Set the configuration to a new value

Parameters
newConfiga data structure representing the new values to be set

Implemented in kernel.serial_ports.RXTXPortWrapper.


The documentation for this interface was generated from the following file:
Git Repo