peek


Description:

public Message? peek ()

Peeks the message on the top of the bus' queue.

The message will remain on the bus' message queue.

Parameters:

this

a Bus

Returns:

the Message that is on the bus, or null if the bus is empty.