- if (this._multicastAnnouncements) {
- ActionListener multicastAnnounceActionListener = new ActionListener() {
- /**
- * Activated by timer events to send multi-cast neighbour
- * announcements for the Log Service.
- *
- * @param e
- */
- @Override
- public void actionPerformed(ActionEvent e) {
+ ActionListener regularTasksActionListener = new ActionListener() {
+ // provide a way to read the current version of the parent process object's fields
+ ServerManagement owner;
+
+ // XXX: Anonymous class initialisation - effectively used as the body of the object's constructor
+ {
+ // XXX: access to the outer class's instance object
+ owner = ServerManagement.this;
+ }
+
+ /**
+ * Activated by timer events to send multi-cast neighbour
+ * announcements for the Log Service.
+ *
+ * @param e
+ */
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ String serviceName = "LogService";
+ // check the current value ofthe parent process' flag
+ if (owner._multicastAnnouncements) {