New RpcServer (gb.xml.rpc)

Dim hRpcServer As RpcServer
hRpcServer = New RpcServer ( ) [ As "EventName" ]