|
YAACC - UPNP Client and Server
|
The base header (26 bytes, little endian) in front of every message. More...

Public Member Functions | |
| MessageHeader (int type, int id, int refersTo, int sentSec, int sentUsec, int receivedSec, int receivedUsec, int size) | |
| int | getType () |
| int | getId () |
| int | getRefersTo () |
| int | getSentSec () |
| int | getSentUsec () |
| int | getReceivedSec () |
| int | getReceivedUsec () |
| int | getSize () |
| long | sentMicros () |
| The sent time as microseconds (seconds times a million plus the microseconds, as long arithmetic). | |
| long | receivedMicros () |
The base header (26 bytes, little endian) in front of every message.
Immutable.
| de.yaacc.snapcast.protocol.MessageHeader.MessageHeader | ( | int | type, |
| int | id, | ||
| int | refersTo, | ||
| int | sentSec, | ||
| int | sentUsec, | ||
| int | receivedSec, | ||
| int | receivedUsec, | ||
| int | size ) |
| type | the message type (0 to 65535) |
| id | the id of the message (0 to 65535) |
| refersTo | the id of the request this answers (0 to 65535) |
| size | the size of the typed message that follows (0 or more) |