|
2008-07-29 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.core.EscObject
org.eclipse.soda.dk.connection.Connection
org.eclipse.soda.dk.echo.connection.EchoConnection
public class EchoConnection
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.soda.dk.connection.service.ConnectionService |
|---|
CONNECTION_KEY, CONNECTION_TYPE, DEFAULT_CONNECTION, SERVICE_NAME |
| Constructor Summary | |
|---|---|
EchoConnection()
Constructs an instance of this class. |
|
EchoConnection(java.lang.String portName)
|
|
| Method Summary | |
|---|---|
void |
close()
Close. |
void |
open()
Open. |
int |
read(byte[] bytes,
int start,
int length)
Read data into the bytes specified. |
void |
write(byte[] bytes,
int start,
int length)
Writes count bytes from the byte array buffer starting at offset. |
| Methods inherited from class org.eclipse.soda.dk.connection.Connection |
|---|
attemptRecoveryFromError, exit, finalize, flush, getConfigurationService, getDefaultResource, getErrorSeverity, getLogDetails4, getLogDetails5, getLogLevel, getReadByteCount, getResource, getWriteByteCount, isOpen, read, setConfigurationInformation, setConfigurationService, setLogLevel, setOpen, setReadByteCount, setWriteByteCount, toStringInfo, updateReadByteCount, updateWriteByteCount, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EchoConnection()
EchoConnection(String)public EchoConnection(java.lang.String portName)
portName - The port name (String) parameter.EchoConnection()| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface ConnectionServiceclose in class Connectionjava.io.IOException - IOException.ConnectionService.close()
public void open()
throws java.io.IOException
open in interface ConnectionServiceopen in class Connectionjava.io.IOException - IOException.ConnectionService.open()
public int read(byte[] bytes,
int start,
int length)
throws java.io.IOException
ConnectionService
bytes - The bytes (byte[]) parameter.start - The start (int) parameter.length - The length (int) parameter.
int) value.
java.io.IOException - IOException.ConnectionService.read(byte[])
public void write(byte[] bytes,
int start,
int length)
throws java.io.IOException
ConnectionServicecount bytes from the byte array buffer starting at offset.
bytes - The bytes (byte[]) parameter.start - The start (int) parameter.length - The length (int) parameter.
java.io.IOException - IOException.ConnectionService.write(byte[])
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||