|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.comm.CommPort
public abstract class CommPort
| Field Summary | |
|---|---|
protected java.lang.String |
name
Define the name (String) field. |
| Constructor Summary | |
|---|---|
CommPort()
|
|
| Method Summary | |
|---|---|
void |
close()
Close. |
abstract void |
disableReceiveFraming()
Disable receive framing. |
abstract void |
disableReceiveThreshold()
Disable receive threshold. |
abstract void |
disableReceiveTimeout()
Disable receive timeout. |
abstract void |
enableReceiveFraming(int framingByte)
Enable receive framing with the specified framing byte parameter. |
abstract void |
enableReceiveThreshold(int thresh)
Enable receive threshold with the specified thresh parameter. |
abstract void |
enableReceiveTimeout(int rcvTimeout)
Enable receive timeout with the specified rcv timeout parameter. |
abstract int |
getInputBufferSize()
Gets the input buffer size (int) value. |
abstract java.io.InputStream |
getInputStream()
Gets the input stream value. |
java.lang.String |
getName()
Gets the name (String) value. |
abstract int |
getOutputBufferSize()
Gets the output buffer size (int) value. |
abstract java.io.OutputStream |
getOutputStream()
Gets the output stream value. |
abstract int |
getReceiveFramingByte()
Gets the receive framing byte (int) value. |
abstract int |
getReceiveThreshold()
Gets the receive threshold (int) value. |
abstract int |
getReceiveTimeout()
Gets the receive timeout (int) value. |
abstract boolean |
isReceiveFramingEnabled()
Gets the receive framing enabled (boolean) value. |
abstract boolean |
isReceiveThresholdEnabled()
Gets the receive threshold enabled (boolean) value. |
abstract boolean |
isReceiveTimeoutEnabled()
Gets the receive timeout enabled (boolean) value. |
abstract void |
setInputBufferSize(int size)
Sets the input buffer size value. |
abstract void |
setOutputBufferSize(int size)
Sets the output buffer size value. |
java.lang.String |
toString()
Returns the string value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
| Constructor Detail |
|---|
public CommPort()
| Method Detail |
|---|
public void close()
public abstract void disableReceiveFraming()
enableReceiveFraming(int)public abstract void disableReceiveThreshold()
enableReceiveThreshold(int),
getReceiveThreshold()public abstract void disableReceiveTimeout()
enableReceiveTimeout(int),
getReceiveTimeout()
public abstract void enableReceiveFraming(int framingByte)
throws UnsupportedCommOperationException
framingByte - The framing byte (int) parameter.
UnsupportedCommOperationException - Unsupported Comm Operation Exception.disableReceiveFraming()
public abstract void enableReceiveThreshold(int thresh)
throws UnsupportedCommOperationException
thresh - The thresh (int) parameter.
UnsupportedCommOperationException - Unsupported Comm Operation Exception.disableReceiveThreshold(),
getReceiveThreshold()
public abstract void enableReceiveTimeout(int rcvTimeout)
throws UnsupportedCommOperationException
rcvTimeout - The rcv timeout (int) parameter.
UnsupportedCommOperationException - Unsupported Comm Operation Exception.disableReceiveTimeout(),
getReceiveTimeout()public abstract int getInputBufferSize()
int) value.setInputBufferSize(int)
public abstract java.io.InputStream getInputStream()
throws java.io.IOException
InputStream) value.
IOException.
java.io.IOExceptionpublic java.lang.String getName()
String) value.public abstract int getOutputBufferSize()
int) value.setOutputBufferSize(int)
public abstract java.io.OutputStream getOutputStream()
throws java.io.IOException
OutputStream) value.
IOException.
java.io.IOExceptionpublic abstract int getReceiveFramingByte()
int) value.public abstract int getReceiveThreshold()
int) value.disableReceiveThreshold(),
enableReceiveThreshold(int)public abstract int getReceiveTimeout()
int) value.disableReceiveTimeout(),
enableReceiveTimeout(int)public abstract boolean isReceiveFramingEnabled()
boolean) value.public abstract boolean isReceiveThresholdEnabled()
boolean) value.public abstract boolean isReceiveTimeoutEnabled()
boolean) value.public abstract void setInputBufferSize(int size)
size - The size (int) parameter.getInputBufferSize()public abstract void setOutputBufferSize(int size)
size - The size (int) parameter.getOutputBufferSize()public java.lang.String toString()
toString in class java.lang.ObjectString) value.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||