updated XCode and added a little for broadcast events
lock and receipt event type added
lock and receipt event type added
call-back functions get be called by server