public abstract class EzyNetworkBytesFrame extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected long |
endTime |
protected long |
readBytes |
protected long |
startTime |
protected long |
writtenBytes |
| Constructor and Description |
|---|
EzyNetworkBytesFrame() |
EzyNetworkBytesFrame(long startTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReadBytes(long bytes) |
void |
addWrittenBytes(long bytes) |
protected abstract long |
getExistsTime() |
boolean |
isExpired() |
abstract EzyNetworkBytesFrame |
nextFrame() |
String |
toString() |
protected final long endTime
protected final long startTime
protected long readBytes
protected long writtenBytes
public EzyNetworkBytesFrame()
public EzyNetworkBytesFrame(long startTime)
protected abstract long getExistsTime()
public void addReadBytes(long bytes)
public void addWrittenBytes(long bytes)
public boolean isExpired()
public abstract EzyNetworkBytesFrame nextFrame()
Copyright © 2024 Young Monkeys. All rights reserved.