
public class BandwidthJsonPacket extends JsonPacket
| Modifier and Type | Field and Description |
|---|---|
protected long |
readglobal |
protected long |
readsession |
protected boolean |
setter |
protected long |
writeglobal |
protected long |
writesession |
| Constructor and Description |
|---|
BandwidthJsonPacket() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(JsonPacket other)
Set from other Json
|
long |
getReadglobal() |
long |
getReadsession() |
long |
getWriteglobal() |
long |
getWritesession() |
boolean |
isSetter() |
void |
setReadglobal(long readglobal) |
void |
setReadsession(long readsession) |
void |
setRequestUserPacket()
Default value to set
|
void |
setSetter(boolean setter) |
void |
setWriteglobal(long writeglobal) |
void |
setWritesession(long writesession) |
createFromBuffer, createObjectNode, getComment, getRequestUserPacket, setComment, setRequestUserPacket, toStringprotected boolean setter
protected long writeglobal
protected long readglobal
protected long writesession
protected long readsession
public boolean isSetter()
public void setSetter(boolean setter)
setter - the setter to setpublic long getWriteglobal()
public void setWriteglobal(long writeglobal)
writeglobal - the writeglobal to setpublic long getReadglobal()
public void setReadglobal(long readglobal)
readglobal - the readglobal to setpublic long getWritesession()
public void setWritesession(long writesession)
writesession - the writesession to setpublic long getReadsession()
public void setReadsession(long readsession)
readsession - the readsession to setpublic void fromJson(JsonPacket other)
JsonPacketfromJson in class JsonPacketpublic void setRequestUserPacket()
JsonPacketsetRequestUserPacket in class JsonPacketCopyright © 2009–2020 Waarp. All rights reserved.