public class BsdBytesTransmittedEvent
extends java.util.EventObject
InputReader
and OutputWriter
when data
is transmitted down the stream.Constructor and Description |
---|
BsdBytesTransmittedEvent(java.lang.Object source,
long total,
int bytes)
Creates BsdBytesTransmittedEvent.
|
Modifier and Type | Method and Description |
---|---|
long |
getBytes()
Gets number of bytes sent during last write.
|
long |
getTotal()
Gets Total number of bytes transmitted since the connection was
established.
|
public BsdBytesTransmittedEvent(java.lang.Object source, long total, int bytes)
source
- the source of the eventtotal
- Total number of bytes transmitted since the connection was
establishedbytes
- number of bytes sent during last write.Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved