|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for transport protocols used within the package com.langner.jmatic
| Method Summary | |
void |
addListener(ITransportListener l)
Adds a ITransportListener object for error and data notification |
void |
removeListener(ITransportListener l)
Removes ITransportListener object for error and data notification |
void |
write(byte[] data,
int length)
Writes length bytes from the byte array data to the underlying stream. |
| Methods inherited from interface com.langner.jmatic2.IConnection |
connect, disconnect, isConnected |
| Method Detail |
public void write(byte[] data,
int length)
throws JMaticException,
java.io.IOException
data - The data to be writtenlength - The length of the data to be written
JMaticException
IOExceptionpublic void addListener(ITransportListener l)
l - The ITransportListener to be addedpublic void removeListener(ITransportListener l)
l - The ITransportListener to be removed
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||