public class IECOpening
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
IECOpening.IECException
Exception.
|
| Constructor and Description |
|---|
IECOpening(java.lang.String portName,
IECParameters iecParameters)
Instantiate an IECOpening.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the seriat-port.
|
java.io.InputStream |
getInputStream()
Returns the serial-port InputStream.
|
java.io.OutputStream |
getOutputStream()
Returns the serial-port OutputStream.
|
void |
open()
Create a communication channel with the meter using IEC mode-E opening.
|
public IECOpening(java.lang.String portName,
IECParameters iecParameters)
portName - iecParameters - public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionpublic void open()
throws IECOpening.IECException
IECOpening.IECExceptionpublic void close()