[ 
https://issues.apache.org/jira/browse/IGNITE-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15689581#comment-15689581
 ] 

Pavel Tupitsyn commented on IGNITE-4116:
----------------------------------------

These are 2 different APIs. 

Ignite events example:
{code}
var ignite = Ignition.Start();
ignite.GetEvents().LocalListen(listener, EventType.ClientNodeReconnected)
{code}

C#-style events in IIgnite:
{code}
var ignite = Ignition.Start();
ignite.ClientReconnected += (x, y) => DoSomething();
{code}

> .NET: documentation and example for client reconnect feature
> ------------------------------------------------------------
>
>                 Key: IGNITE-4116
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4116
>             Project: Ignite
>          Issue Type: Sub-task
>    Affects Versions: 1.7
>            Reporter: Denis Magda
>            Assignee: Pavel Tupitsyn
>             Fix For: 1.8
>
>         Attachments: Screen Shot 2016-10-31 at 8.53.01 AM.png
>
>
> Presently the documentation and example about the client reconnect feature is 
> missing on .NET side. Let's fill this gap.
> - Documentation can be taken from Java side 
> (https://apacheignite.readme.io/docs/clients-vs-servers#client-reconnect)
> - The example that can be (should be) added to the distribution is the 
> following 
> https://github.com/gridgain/apache-ignite/blob/ignite-net-advanced-examples/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Advanced/ClientReconnectExample.cs



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to