hi folks.
i am writing an distributed .net game-application with c#. there are
clients and a game-server.
the game-server uses events -> delegates to use callbacks to the
game-clients.
there is one thing i don't understand. when i start the app, the
client-runtime throws serialization exceptions of classes that are not
relevant for my client.
the runtime claims these server-classes to be serializable, which are
referenced by the class, where my delegate-vars are called.
i read in varios papers that it is neccessary, that the object-graph of
the class where my event "lives" needs to be serializable. but why?? as
i said the client does not access server-classes at all (apart from the
remote-interface). apart from that it is a very dirty design (my client
needs .dlls of server classes) and slow (object are serialized over the
bottlenecked network).
maybe there is a setting in my server.config i haven't found yet?
any help very appreciated. thnx.
x-post f'up set.
--
manuel aldana
above adress not valid -> use: aldana[at]cs.tu-berlin.de
|