public abstract class CommPort extends Object
Constructor and Description |
---|
CommPort() |
Modifier and Type | Method and Description |
---|---|
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() |
protected String name
public abstract void enableReceiveFraming(int f) throws UnsupportedCommOperationException
public abstract void disableReceiveFraming()
public abstract boolean isReceiveFramingEnabled()
public abstract int getReceiveFramingByte()
public abstract void disableReceiveTimeout()
public abstract void enableReceiveTimeout(int time) throws UnsupportedCommOperationException
public abstract boolean isReceiveTimeoutEnabled()
public abstract int getReceiveTimeout()
public abstract void enableReceiveThreshold(int thresh) throws UnsupportedCommOperationException
public abstract void disableReceiveThreshold()
public abstract int getReceiveThreshold()
public abstract boolean isReceiveThresholdEnabled()
public abstract void setInputBufferSize(int size)
public abstract int getInputBufferSize()
public abstract void setOutputBufferSize(int size)
public abstract int getOutputBufferSize()
public void close()
public abstract InputStream getInputStream() throws IOException
IOException
public abstract OutputStream getOutputStream() throws IOException
IOException
public String getName()
Copyright © 2016. All rights reserved.