add the batch send method to the client  and take the process of forming
the event object out of the send method.