public class ConnectionObserverI extends ObserverWithDelegate<ConnectionMetrics,ConnectionObserver> implements ConnectionObserver
Observer.MetricsUpdate<T>_delegateserialVersionUID| Constructor and Description |
|---|
ConnectionObserverI() |
| Modifier and Type | Method and Description |
|---|---|
void |
receivedBytes(int num)
Notification of received bytes over the connection.
|
void |
sentBytes(int num)
Notification of sent bytes over the connection.
|
attach, detach, failed, getDelegate, getObserver, setDelegateforEach, getEntry, getObserver, initpublic void sentBytes(int num)
ConnectionObserversentBytes in interface ConnectionObservernum - The number of bytes sent.public void receivedBytes(int num)
ConnectionObserverreceivedBytes in interface ConnectionObservernum - The number of bytes received.