'Adds received mido.Message to the queue for capture.
Args:
msg: The incoming mido.Message object to add to the queue for capture. The
time attribute is assumed to be pre-set with the wall time when the
message was received.
Raises:
MidiHubException: When the received message has an empty time attribute.'

def receive(self, msg):

    if (not msg.time):
        raise MidiHubException(('MidiCaptor    received    message    with    empty    time    attribute:    %s' % msg))
    self._receive_queue.put(msg)
