public class TypeOfService
An inline class to hold a IP ToS value
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeOfService.Companion |
| Modifier and Type | Field and Description |
|---|---|
static TypeOfService.Companion |
Companion |
| Constructor and Description |
|---|
TypeOfService(NonExistentClass value)
An inline class to hold a IP ToS value
|
TypeOfService(int value)
Creates ToS by integer value discarding extra high bits
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIntValue()
Integer representation of this ToS
|
NonExistentClass |
getValue()
an unsigned byte IP
|
NonExistentClass |
unbox() |
public static TypeOfService.Companion Companion