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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew Post: [en] How to deremine that currect Zyan Connection is connected?...
thank you, for your help:)
View ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleUpdated 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 ArticleUpdated 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 ArticleUpdated 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 ArticleUpdated 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 ArticleNew 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 ArticleNew Post: [en] New article: event filters
https://zyan.codeplex.com/wikipage?title=Event%20filters Any comments and/or suggestions are very welcome.
View Article