what i think you could do is to make DPMessageHandler a nonclass function.

when you then call initialize then do it like this:
DPServer.Initialize(@self, @DPMessageHandler, 0);

in your callback function you can then use the servers properties by writing: name_of_the_server_class(pvUserContext).values_in_ the_server

this was how i did a little hack with ode