venomous0x/WhatsAPI — pull request #275 by facine (2013-02-18 02:09:05+00:00)
Title: Event callback implementation.

* Rename _imei property by _identity.
* Event callback implementation. More events comming soon.
- onConnect
- onDisconnect
- onLogin
- onSendNickname
- onSendPresence
- onPing
- onPong
- onDissectPhone
- onFailedDissectPhone
- onGoodCredentials
- onBadCredentials
* Add disconnect function.
* New message id implementation.
* Change dissectPhone function to protected.