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, toString
protected boolean setter
protected long writeglobal
protected long readglobal
protected long writesession
protected long readsession
public final boolean isSetter()
public final void setSetter(boolean setter)
setter
- the setter to setpublic final long getWriteglobal()
public final void setWriteglobal(long writeglobal)
writeglobal
- the writeglobal to setpublic final long getReadglobal()
public final void setReadglobal(long readglobal)
readglobal
- the readglobal to setpublic final long getWritesession()
public final void setWritesession(long writesession)
writesession
- the writesession to setpublic final long getReadsession()
public final void setReadsession(long readsession)
readsession
- the readsession to setpublic final void fromJson(JsonPacket other)
JsonPacket
fromJson
in class JsonPacket
public final void setRequestUserPacket()
JsonPacket
setRequestUserPacket
in class JsonPacket
Copyright © 2009–2022 Waarp. All rights reserved.