How phone and arduino communicates with the server

I am preparing a thesis for the University that require communication between Arduino and the phone. I would use your Local Server for this so can I know which messages are sent to your server to operate on a pin, and how can i establish a connection within my app and arduino through yout Local server?

http://docs.blynk.cc/#server