PC Review


Reply
Thread Tools Rate Thread

delegate question

 
 
manuel aldana
Guest
Posts: n/a
 
      10th Jan 2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delegate question ^MisterJingo^ Microsoft C# .NET 4 14th Dec 2005 11:14 PM
Delegate question bigbob Microsoft VB .NET 0 31st Jan 2005 08:06 PM
Delegate question M.Posseth Microsoft VB .NET 3 6th Jan 2005 03:30 PM
Question on Delegate Soul Microsoft Dot NET Compact Framework 1 24th May 2004 04:56 PM
AddressOf/Delegate question clarified - VB6.0, .NET question BoloBaby Microsoft VB .NET 3 17th May 2004 12:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:07 AM.