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