gnu.io

Class CommPort


public abstract class CommPort
extends Object

CommPort

Field Summary

protected String
name

Method Summary

void
close()
abstract void
disableReceiveFraming()
abstract void
disableReceiveThreshold()
abstract void
disableReceiveTimeout()
abstract void
enableReceiveFraming(int f)
abstract void
enableReceiveThreshold(int thresh)
abstract void
enableReceiveTimeout(int time)
abstract int
getInputBufferSize()
abstract InputStream
getInputStream()
String
getName()
abstract int
getOutputBufferSize()
abstract OutputStream
getOutputStream()
abstract int
getReceiveFramingByte()
abstract int
getReceiveThreshold()
abstract int
getReceiveTimeout()
abstract boolean
isReceiveFramingEnabled()
abstract boolean
isReceiveThresholdEnabled()
abstract boolean
isReceiveTimeoutEnabled()
abstract void
setInputBufferSize(int size)
abstract void
setOutputBufferSize(int size)
String
toString()

Field Details

name

protected String name

Method Details

close

public void close()

disableReceiveFraming

public abstract void disableReceiveFraming()

disableReceiveThreshold

public abstract void disableReceiveThreshold()

disableReceiveTimeout

public abstract void disableReceiveTimeout()

enableReceiveFraming

public abstract void enableReceiveFraming(int f)
            throws UnsupportedCommOperationException

enableReceiveThreshold

public abstract void enableReceiveThreshold(int thresh)
            throws UnsupportedCommOperationException

enableReceiveTimeout

public abstract void enableReceiveTimeout(int time)
            throws UnsupportedCommOperationException

getInputBufferSize

public abstract int getInputBufferSize()

getInputStream

public abstract InputStream getInputStream()
            throws IOException

getName

public String getName()

getOutputBufferSize

public abstract int getOutputBufferSize()

getOutputStream

public abstract OutputStream getOutputStream()
            throws IOException

getReceiveFramingByte

public abstract int getReceiveFramingByte()

getReceiveThreshold

public abstract int getReceiveThreshold()

getReceiveTimeout

public abstract int getReceiveTimeout()

isReceiveFramingEnabled

public abstract boolean isReceiveFramingEnabled()

isReceiveThresholdEnabled

public abstract boolean isReceiveThresholdEnabled()

isReceiveTimeoutEnabled

public abstract boolean isReceiveTimeoutEnabled()

setInputBufferSize

public abstract void setInputBufferSize(int size)

setOutputBufferSize

public abstract void setOutputBufferSize(int size)

toString

public String toString()