public interface MappedBusMessage
Modifier and Type | Method and Description |
---|---|
void |
read(MemoryMappedFile mem,
long pos)
Reads a message from the bus.
|
int |
type()
Returns the message type.
|
void |
write(MemoryMappedFile mem,
long pos)
Writes a message to the bus.
|
void write(MemoryMappedFile mem, long pos)
mem
- an instance of the memory mapped filepos
- the start of the current recordvoid read(MemoryMappedFile mem, long pos)
mem
- an instance of the memory mapped filepos
- the start of the current recordint type()