Pass the message object to the callback (Listing 14.37)
Assign unique integer ids (Listing 14.39)
Implement getMessagesSince (Listing 14.43)