|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.jscape.inet.bsd.BsdBytesReceivedEvent
public class BsdBytesReceivedEvent
Fired from InputReader
and OutputWriter
when data
is received from remote host.
Constructor Summary | |
---|---|
BsdBytesReceivedEvent(java.lang.Object source,
long total,
int bytes)
Creates BsdBytesReceivedEvent. |
Method Summary | |
---|---|
long |
getBytes()
Gets number of bytes received during last read. |
long |
getTotal()
Gets Total number of bytes received since the connection was established. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public long getTotal()
public long getBytes()
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |