|
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.BsdBytesTransmittedEvent
public class BsdBytesTransmittedEvent
Fired from InputReader
and OutputWriter
when data
is transmitted down the stream.
Constructor Summary | |
---|---|
BsdBytesTransmittedEvent(java.lang.Object source,
long total,
int bytes)
Creates BsdBytesTransmittedEvent. |
Method Summary | |
---|---|
long |
getBytes()
Gets number of bytes sent during last write. |
long |
getTotal()
Gets Total number of bytes transmitted 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 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.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 |