public class SerialPort extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Ports.SerialPort
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.IO.Ports.SerialPort
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SerialPort() |
SerialPort(IContainer container) |
SerialPort(java.lang.Object instance)
Internal constructor.
|
SerialPort(java.lang.String portName) |
SerialPort(java.lang.String portName,
int baudRate) |
SerialPort(java.lang.String portName,
int baudRate,
Parity parity) |
SerialPort(java.lang.String portName,
int baudRate,
Parity parity,
int dataBits) |
SerialPort(java.lang.String portName,
int baudRate,
Parity parity,
int dataBits,
StopBits stopBits) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataReceived(SerialDataReceivedEventHandler handler) |
void |
addErrorReceived(SerialErrorReceivedEventHandler handler) |
void |
addPinChanged(SerialPinChangedEventHandler handler) |
static SerialPort |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SerialPort, a cast assert is made to check if types are compatible. |
void |
Close() |
void |
DiscardInBuffer() |
void |
DiscardOutBuffer() |
Stream |
getBaseStream() |
int |
getBaudRate() |
boolean |
getBreakState() |
int |
getBytesToRead() |
int |
getBytesToWrite() |
boolean |
getCDHolding() |
boolean |
getCtsHolding() |
int |
getDataBits() |
boolean |
getDiscardNull() |
boolean |
getDsrHolding() |
boolean |
getDtrEnable() |
Encoding |
getEncoding() |
Handshake |
getHandshake() |
boolean |
getIsOpen() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getNewLine() |
Parity |
getParity() |
byte |
getParityReplace() |
java.lang.String |
getPortName() |
static java.lang.String[] |
GetPortNames() |
int |
getReadBufferSize() |
int |
getReadTimeout() |
int |
getReceivedBytesThreshold() |
boolean |
getRtsEnable() |
StopBits |
getStopBits() |
int |
getWriteBufferSize() |
int |
getWriteTimeout() |
void |
Open() |
int |
Read(byte[] buffer,
int offset,
int count) |
int |
Read(char[] buffer,
int offset,
int count) |
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
int |
ReadByte() |
int |
ReadChar() |
java.lang.String |
ReadExisting() |
java.lang.String |
ReadLine() |
java.lang.String |
ReadTo(java.lang.String value) |
void |
removeDataReceived(SerialDataReceivedEventHandler handler) |
void |
removeErrorReceived(SerialErrorReceivedEventHandler handler) |
void |
removePinChanged(SerialPinChangedEventHandler handler) |
void |
setBaudRate(int BaudRate) |
void |
setBreakState(boolean BreakState) |
void |
setDataBits(int DataBits) |
void |
setDiscardNull(boolean DiscardNull) |
void |
setDtrEnable(boolean DtrEnable) |
void |
setEncoding(Encoding Encoding) |
void |
setHandshake(Handshake Handshake) |
void |
setJCOInstance(JCObject instance) |
void |
setNewLine(java.lang.String NewLine) |
void |
setParity(Parity Parity) |
void |
setParityReplace(byte ParityReplace) |
void |
setPortName(java.lang.String PortName) |
void |
setReadBufferSize(int ReadBufferSize) |
void |
setReadTimeout(int ReadTimeout) |
void |
setReceivedBytesThreshold(int ReceivedBytesThreshold) |
void |
setRtsEnable(boolean RtsEnable) |
void |
setStopBits(StopBits StopBits) |
void |
setWriteBufferSize(int WriteBufferSize) |
void |
setWriteTimeout(int WriteTimeout) |
void |
Write(byte[] buffer,
int offset,
int count) |
void |
Write(char[] buffer,
int offset,
int count) |
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
void |
Write(java.lang.String text) |
void |
WriteLine(java.lang.String text) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SerialPort()
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic SerialPort(IContainer container) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic SerialPort(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SerialPort(java.lang.String portName)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic SerialPort(java.lang.String portName,
int baudRate)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic SerialPort(java.lang.String portName,
int baudRate,
Parity parity)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic SerialPort(java.lang.String portName,
int baudRate,
Parity parity,
int dataBits)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic SerialPort(java.lang.String portName,
int baudRate,
Parity parity,
int dataBits,
StopBits stopBits)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
IOException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void addDataReceived(SerialDataReceivedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addErrorReceived(SerialErrorReceivedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPinChanged(SerialPinChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static SerialPort cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SerialPort, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSerialPort instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic void DiscardInBuffer()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void DiscardOutBuffer()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic Stream getBaseStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public int getBaudRate()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getBreakState()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public int getBytesToRead()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic int getBytesToWrite()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic boolean getCDHolding()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic boolean getCtsHolding()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic int getDataBits()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getDiscardNull()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getDsrHolding()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic boolean getDtrEnable()
throws java.lang.Throwable
java.lang.Throwablepublic Encoding getEncoding() throws java.lang.Throwable
java.lang.Throwablepublic Handshake getHandshake() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsOpen()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic java.lang.String getNewLine()
throws java.lang.Throwable
java.lang.Throwablepublic Parity getParity() throws java.lang.Throwable
java.lang.Throwablepublic byte getParityReplace()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getPortName()
throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String[] GetPortNames()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
NullReferenceException,
NotSupportedException,
SecurityException,
MissingMethodException,
CultureNotFoundException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionMissingMethodExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionpublic int getReadBufferSize()
throws java.lang.Throwable
java.lang.Throwablepublic int getReadTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic int getReceivedBytesThreshold()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getRtsEnable()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public StopBits getStopBits() throws java.lang.Throwable
java.lang.Throwablepublic int getWriteBufferSize()
throws java.lang.Throwable
java.lang.Throwablepublic int getWriteTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic void Open()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException,
WaitHandleCannotBeOpenedException,
FileNotFoundException,
DirectoryNotFoundException,
DriveNotFoundException,
OperationCanceledException,
AbandonedMutexException,
MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionMulticastNotSupportedExceptionpublic int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic int Read(char[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionTimeoutExceptionpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IOException, FormatException, UnauthorizedAccessException, PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic int ReadByte()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public int ReadChar()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException,
TimeoutException,
WaitHandleCannotBeOpenedException,
FileNotFoundException,
DirectoryNotFoundException,
DriveNotFoundException,
OperationCanceledException,
IndexOutOfRangeException,
EndOfStreamException,
ThreadAbortException,
TaskSchedulerException,
TaskCanceledException,
AggregateException,
SemaphoreFullException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionTimeoutExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionDriveNotFoundExceptionOperationCanceledExceptionIndexOutOfRangeExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic java.lang.String ReadExisting()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic java.lang.String ReadLine()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
IOException,
UnauthorizedAccessException,
PathTooLongException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionTimeoutExceptionpublic java.lang.String ReadTo(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
IOException,
UnauthorizedAccessException,
PathTooLongException,
TimeoutException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionTimeoutExceptionIndexOutOfRangeExceptionpublic void removeDataReceived(SerialDataReceivedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeErrorReceived(SerialErrorReceivedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePinChanged(SerialPinChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setBaudRate(int BaudRate)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
IOException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setBreakState(boolean BreakState)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setDataBits(int DataBits)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
IOException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setDiscardNull(boolean DiscardNull)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
ArgumentOutOfRangeException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
public void setDtrEnable(boolean DtrEnable)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
ArgumentOutOfRangeException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
public void setEncoding(Encoding Encoding) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, FormatException, InvalidOperationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
public void setHandshake(Handshake Handshake) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IOException, FormatException, UnauthorizedAccessException, PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setNewLine(java.lang.String NewLine)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void setParity(Parity Parity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IOException, FormatException, UnauthorizedAccessException, PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setParityReplace(byte ParityReplace)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IOException,
ArgumentOutOfRangeException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
public void setPortName(java.lang.String PortName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void setReadBufferSize(int ReadBufferSize)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void setReadTimeout(int ReadTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setReceivedBytesThreshold(int ReceivedBytesThreshold)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
FormatException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setRtsEnable(boolean RtsEnable)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IOException,
IndexOutOfRangeException,
UnauthorizedAccessException,
PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionIndexOutOfRangeExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setStopBits(StopBits StopBits) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IOException, FormatException, UnauthorizedAccessException, PathTooLongException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOExceptionFormatExceptionUnauthorizedAccessExceptionPathTooLongExceptionpublic void setWriteBufferSize(int WriteBufferSize)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void setWriteTimeout(int WriteTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
WaitHandleCannotBeOpenedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
NullReferenceException,
IndexOutOfRangeException,
EndOfStreamException,
FormatException,
ThreadAbortException,
TaskSchedulerException,
TaskCanceledException,
AggregateException,
SemaphoreFullException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionNullReferenceExceptionIndexOutOfRangeExceptionEndOfStreamExceptionFormatExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTimeoutExceptionpublic void Write(char[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
WaitHandleCannotBeOpenedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
IndexOutOfRangeException,
EndOfStreamException,
FormatException,
ThreadAbortException,
TaskSchedulerException,
TaskCanceledException,
AggregateException,
SemaphoreFullException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionIndexOutOfRangeExceptionEndOfStreamExceptionFormatExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTimeoutExceptionpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, NullReferenceException, IndexOutOfRangeException, EndOfStreamException, FormatException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException, TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionNullReferenceExceptionIndexOutOfRangeExceptionEndOfStreamExceptionFormatExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTimeoutExceptionpublic void Write(java.lang.String text)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
WaitHandleCannotBeOpenedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
NullReferenceException,
IndexOutOfRangeException,
EndOfStreamException,
FormatException,
ThreadAbortException,
TaskSchedulerException,
TaskCanceledException,
AggregateException,
SemaphoreFullException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionNullReferenceExceptionIndexOutOfRangeExceptionEndOfStreamExceptionFormatExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTimeoutExceptionpublic void WriteLine(java.lang.String text)
throws java.lang.Throwable,
IndexOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
WaitHandleCannotBeOpenedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
EndOfStreamException,
ThreadAbortException,
TaskSchedulerException,
TaskCanceledException,
AggregateException,
SemaphoreFullException,
TimeoutException
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTimeoutException