1 package org.ocera.orte.demo;
7 * @author Lukas Pokorny (lukas_pokorny@centrum.cz)
8 * @author CTU FEE Prague - Department of Control Engineering (dce.felk.cvut.cz)
9 * @author Project ORTE - OCERA Real Time Ethernet (www.ocera.org)
10 * @author dedication to Kj
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 import org.ocera.orte.types.*;
27 public class MyEvents extends DomainEvents {
36 public void onRegFail()
38 System.out.println(":j: *************************************************");
39 System.out.println(":j: * call method 'MyEvents.onRegFail()'.. *");
40 System.out.println(":j: *************************************************");
44 public void onMgrNew(AppInfo appInfo)
46 System.out.println(":j: *************************************************");
47 System.out.println(":j: * call method 'MyEvents.onMgrNew()'.. *");
48 System.out.println(":j: *************************************************");
52 public void onMgrDelete(AppInfo appInfo)
54 System.out.println(":j: *************************************************");
55 System.out.println(":j: * call method 'MyEvents.onMgrDelete()'.. *");
56 System.out.println(":j: *************************************************");
60 public void onAppRemoteNew(AppInfo appInfo)
62 System.out.println(":j: *************************************************");
63 System.out.println(":j: * call method 'MyEvents.onAppRemoteNew()'.. *");
64 System.out.println(":j: *************************************************");
68 public void onAppDelete(AppInfo appInfo)
70 System.out.println(":j: *************************************************");
71 System.out.println(":j: * call method 'MyEvents.onAppDelete()'.. *");
72 System.out.println(":j: *************************************************");
76 public void onPubRemoteNew(AppInfo appInfo, PubInfo pubInfo)
78 System.out.println(":j: *************************************************");
79 System.out.println(":j: * call method 'MyEvents.onPubRemoteNew()'.. *");
80 System.out.println(":j: *************************************************");
84 public void onPubRemoteChanged(AppInfo appInfo, PubInfo pubInfo)
86 System.out.println(":j: *************************************************");
87 System.out.println(":j: * call method 'MyEvents.onPubRemoteChanged()'.. *");
88 System.out.println(":j: *************************************************");
92 public void onPubDelete(AppInfo appInfo, PubInfo pubInfo)
94 System.out.println(":j: *************************************************");
95 System.out.println(":j: * call method 'MyEvents.onPubDelete()'.. *");
96 System.out.println(":j: *************************************************");
100 public void onSubRemoteNew(AppInfo appInfo, SubInfo subInfo)
102 System.out.println(":j: *************************************************");
103 System.out.println(":j: * call method 'MyEvents.onSubRemoteNew()'.. *");
104 System.out.println(":j: *************************************************");
108 public void onSubRemoteChanged(AppInfo appInfo, SubInfo subInfo)
110 System.out.println(":j: *************************************************");
111 System.out.println(":j: * call method 'MyEvents.onSubRemoteChanged()'.. *");
112 System.out.println(":j: *************************************************");
116 public void onSubDelete(AppInfo appInfo, SubInfo subInfo)
118 System.out.println(":j: *************************************************");
119 System.out.println(":j: * call method 'MyEvents.onSubDelete()'.. *");
120 System.out.println(":j: *************************************************");