more flexible signatures of revieceBase and process
websock java generation