add & fix method

1. add method can send event to peer individually
2. fix method name "sendEventWithEventCode~" to
"sendEventToAllWithEventCode".
update sample