public abstract class WiretapOutputStream extends DelayOutputStream implements de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterface
DISABLE_DELAY| Constructor and Description |
|---|
WiretapOutputStream(java.io.OutputStream outputStream,
long transmissionDelay,
double maxFlowRate) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(java.lang.String mainAdress,
int subAdressNumber) |
void |
disconnect() |
protected void |
enqueue(byte[] bytes) |
java.io.InputStream |
getInputStream() |
java.lang.String |
getMainAdress() |
java.io.OutputStream |
getOutputStream() |
int |
getSubAdressNumber() |
boolean |
isConnected() |
abstract void |
telegramSend(de.bsvrz.dav.daf.communication.lowLevel.telegrams.DataTelegram telegram) |
write, write, writepublic WiretapOutputStream(java.io.OutputStream outputStream,
long transmissionDelay,
double maxFlowRate)
public abstract void telegramSend(de.bsvrz.dav.daf.communication.lowLevel.telegrams.DataTelegram telegram)
protected void enqueue(byte[] bytes)
throws java.io.IOException
enqueue in class DelayOutputStreamjava.io.IOExceptionpublic java.lang.String getMainAdress()
getMainAdress in interface de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterfacepublic int getSubAdressNumber()
getSubAdressNumber in interface de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterfacepublic java.io.OutputStream getOutputStream()
getOutputStream in interface de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterfacepublic java.io.InputStream getInputStream()
getInputStream in interface de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterfacepublic void connect(java.lang.String mainAdress,
int subAdressNumber)
throws de.bsvrz.dav.daf.main.ConnectionException
connect in interface de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterfacede.bsvrz.dav.daf.main.ConnectionExceptionpublic void disconnect()
disconnect in interface de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterfacepublic boolean isConnected()
isConnected in interface de.bsvrz.dav.daf.communication.lowLevel.ConnectionInterface