|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.tk.conn.echo.EchoJni
public class EchoJni
| Constructor Summary | |
|---|---|
EchoJni()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
close()
Close the echo. |
protected void |
ensureOpen()
Ensure the echo is open. |
protected void |
finalize()
Close the port when no more references remain. |
java.lang.String |
getPortName()
Return the name of the echo. |
boolean |
isClosed()
Return true if the echo is closed, false if open. |
void |
open(java.lang.String portName)
|
int |
read(byte[] buffer,
int offset,
int length)
|
java.lang.String |
toString()
Return a printable representation of this object. |
int |
write(byte[] buffer,
int offset,
int length)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EchoJni()
| Method Detail |
|---|
public void close()
throws java.io.IOException
Close the echo. if an I/O error occurs.
java.io.IOException - IOException.
protected void ensureOpen()
throws java.io.IOException
java.io.IOException - IOException.protected void finalize()
finalize in class java.lang.Objectpublic java.lang.String getPortName()
String) value.public boolean isClosed()
boolean) value.
public void open(java.lang.String portName)
throws java.io.IOException
portName - The port name (String) parameter.
java.io.IOException - IOException.
public int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
buffer - The buffer (byte[]) parameter.offset - The offset (int) parameter.length - The length (int) parameter.
int) value.
java.io.IOException - IOException.public java.lang.String toString()
toString in class java.lang.ObjectString) value.
public int write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
buffer - The buffer (byte[]) parameter.offset - The offset (int) parameter.length - The length (int) parameter.
int) value.
java.io.IOException - IOException.
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||