Mailbox query

there are 5 classes and only 1 mailbox then how receiver component will get to konw from which clas data is getting. can anyone please explain it to me?

In reply to Pradeepdab:

Add a property in the txn object which is being put() OR get() from mailbox.

Make sure the property would be initialized to different value in each of the Transmitter Class Objects !!