Quantcast
Channel: #Zyan Communication Framework
Browsing all 665 articles
Browse latest View live

New Post: [en] Can an event/method be restricted to on recipient? And data...

Given that I have an event which many clients hook up to can I just inform a specific one? and if so, how?  That depends on how your clients are identified for server. If a client has a unique name,...

View Article


New Post: [en] Can an event/method be restricted to on recipient? And data...

Thanks yallie for the quick answer. a) I understand that events are fire & forget and shall have two parameters (object sender, xxxEventArgs e). The later should be derived from EventArgs and...

View Article


New Post: [en] Can an event/method be restricted to on recipient? And data...

hmm.. Yallie, please correct me, if i'm wrong: in other words: Let's say, i've a server, configured in Singleton mode. I've an event on the server side (OnItemBought), and many clients subscribed to...

View Article

New Post: [en] Context information is missing.

Greetings, i need a help here. Just for a test made this on the client side:public void TestConnect(string login, string password) { Hashtable credentials = new Hashtable();...

View Article

New Post: [en] How to deremine that currect Zyan Connection is connected?...

thank you, for your help:)

View Article


New Post: [en] Can an event/method be restricted to on recipient? And data...

hm...Yallie. here is a quesstion appeared: That depends on how your clients are identified for server. If a client has a unique name, add Name property to your EventArgs class. Events can then be...

View Article

New Post: [en] Can an event/method be restricted to on recipient? And data...

@ Jesset3r: As far as I understand it, this holds true for events! But NOT for method calls. For events it seems to work exactly like standard events. Multiple subscribers and the event originator can...

View Article

New Post: [en] Forced disconnect by the server initiative

Heya! How can i disconnect certain client on the server side in the right way? I was tought, that SessionManager.RemoveSession, would help me... but is it a correct approach?

View Article


New Post: [en] Can an event/method be restricted to on recipient? And data...

Well... Here is a solution for my case: Create new HashSet<IClient> _clients = new HashSet<IClient>(); public interface IClient : IDisposable { /// <summary> /// Gets the SessionID of...

View Article


New Post: [en] Can an event/method be restricted to on recipient? And data...

@phmerk What about methods? Are those asynchronous by virtue or do I have to use a TAP pattern, e.g. returning some sort of Task? If a remote method is called I assume that Zyan is taking care of the...

View Article

New Post: [en] Can an event/method be restricted to on recipient? And data...

@phmerk PS.: While thinking about it I came across one issue: How are Exceptions (in methods) handled? Only local or are they propagated back to the initiating party? On events I suppose one has to...

View Article

New Post: [en] Can an event/method be restricted to on recipient? And data...

@Jesset3r Hmm..okay, let's imagine, i've a lot of operations, and many clients connected to the server, does it means, that every client will receive a tons of useless traffic? Maybe it's possible to...

View Article

New Post: [en] Can an event/method be restricted to on recipient? And data...

@phmerk For events it seems to work exactly like standard events. Multiple subscribers and the event originator can not identify 'easily' a specific subscriber (other than through some magic in the...

View Article


New Post: [en] Can an event/method be restricted to on recipient? And data...

@Jesset3r Well... Here is a solution for my case:  If all you need is to route events to specific sessions, use session-bound events. Session-bound events are events using EventArgs derived from...

View Article

Updated Wiki: Event filters

Server-side event filters Standard .NET event model is the simplest Observer pattern implementation. Every event is dispatched to all listeners who subscribed it, so the listener is responsible for...

View Article


Updated Wiki: Event filters

Server-side event filters Standard .NET event model is the simplest Observer pattern implementation. Every event is dispatched to all listeners who subscribed it, so the listener is responsible for...

View Article

Image may be NSFW.
Clik here to view.

Updated Wiki: English Documentation

English Table of contentsZyan Framework overviewWhat´s new in Zyan 2.xGetting startedNetwork protocols setupSession managementDeterministic resource cleanupManaged Extensibility Framework Integration...

View Article


Updated Wiki: Event filters

Server-side event filters Standard .NET event model is the simplest Observer pattern implementation. Every event is dispatched to all listeners who subscribed it, so the listener is responsible for...

View Article

New Post: [en] Can an event/method be restricted to on recipient? And data...

Here is a fresh article about event filters:https://zyan.codeplex.com/wikipage?title=Event%20filters

View Article

New Post: [en] New article: event filters

https://zyan.codeplex.com/wikipage?title=Event%20filters Any comments and/or suggestions are very welcome.

View Article
Browsing all 665 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>