BTW - this will be available in the next release: https://issues.apache.org/jira/browse/CURATOR-54
On Nov 3, 2013, at 8:01 AM, Jordan Zimmerman <[email protected]> wrote: > It’s in LeaderSelectorListenerAdapter. It has default handling. > > -JZ > > On Nov 3, 2013, at 6:35 AM, Sznajder ForMailingList > <[email protected]> wrote: > >> Hi >> >> In the last version of Curator , I do not see the handling of >> stateChanged >> >> in the leader Selector example >> >> https://git-wip-us.apache.org/repos/asf?p=curator.git;a=blob;f=curator-examples/src/main/java/leader/ExampleClient.java;h=6ec4a1f9d4a11fd52a44eafaca46b8ae9f9b40c4;hb=HEAD >> >> >> Does that mean we can ignore it? >> What happens in case the connection is lost or suspended? Who handles that? >> >> Best regards >> >> Benjamin >
