Event Handler for publishing a project to GroupShare

Hello, 

I'm currently having trouble with the EventHandler when trying to publish a project to GroupShare. According to the API, the arguments which need to be given are Server Uri, Windows Authentification, username, password, organisation path and the Event Handler. Could anyone help in terms of how the Event Handler should look or what it should contain. Help would be greatly appreciated. 

Thanks, Filip.