How do i get data from the gcm?

view story

http://stackoverflow.com – Can someone show me the hierarchy that stands behind the process when I'm getting a new data from the GCM? The process that happened only in the client. Example: First the data is getting to the displayMessage function in CommonUtilities class. Seconds the data is transmitted to the onMessage function in GCMIntentService class, and so on. Thanks! (HowTos)