Defines classes for transferring messages to and from Queues.