summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-08-07 18:15:08 +0000
committerPaul Buetow <paul@buetow.org>2008-08-07 18:15:08 +0000
commita7fdf8fb6a1f32062161b6e245c6f8bd67da3ec9 (patch)
tree47ea4b9ff3bf092cb3169f4827d48a174b97e4bf /sources
parentfeb6702489243f9c3f0bac7827ab2f477ed7b414 (diff)
mehr geschrieben
Diffstat (limited to 'sources')
-rw-r--r--sources/events/VSRegisteredEvents.java22
1 files changed, 16 insertions, 6 deletions
diff --git a/sources/events/VSRegisteredEvents.java b/sources/events/VSRegisteredEvents.java
index 15c4023..801a8c2 100644
--- a/sources/events/VSRegisteredEvents.java
+++ b/sources/events/VSRegisteredEvents.java
@@ -74,7 +74,7 @@ public final class VSRegisteredEvents {
private static VSPrefs prefs;
/**
- * Inits the.
+ * Registers available events.
*
* @param prefs_ the prefs_
*/
@@ -82,17 +82,17 @@ public final class VSRegisteredEvents {
prefs = prefs_;
registerEvent("events.implementations.VSProcessCrashEvent",
- "Prozessabsturz", null);
+ "Prozessabsturz");
registerEvent("events.implementations.VSProcessRecoverEvent",
- "Prozesswiederbelebung", null);
+ "Prozesswiederbelebung");
registerEvent("protocols.implementations.VSBasicMulticastProtocol",
"Basic Multicast", "Basic Multicast");
registerEvent("protocols.implementations.VSBerkelyTimeProtocol",
"Berkeley Algorithmus zur internen Sync.", "Berkeley");
registerEvent("protocols.implementations.VSBroadcastProtocol",
- "Broadcast", null);
+ "Broadcast");
registerEvent("protocols.implementations.VSDummyProtocol",
- "Beispiel/Dummy", null);
+ "Beispiel/Dummy");
registerEvent("protocols.implementations.VSExternalTimeSyncProtocol",
"Christians Methode zur externen Sync.", "Christians");
registerEvent("protocols.implementations.VSInternalTimeSyncProtocol",
@@ -100,7 +100,7 @@ public final class VSRegisteredEvents {
registerEvent("protocols.implementations.VSOnePhaseCommitProtocol",
"Ein-Phasen Commit", "1-Phasen Commit");
registerEvent("protocols.implementations.VSPingPongProtocol",
- "Ping Pong", null);
+ "Ping Pong");
registerEvent("protocols.implementations.VSReliableMulticastProtocol",
"Reliable Multicast", "Reliable Multicast");
registerEvent("protocols.implementations.VSTwoPhaseCommitProtocol",
@@ -353,6 +353,16 @@ public final class VSRegisteredEvents {
*
* @param eventClassname the event classname
* @param eventName the event name
+ */
+ private static void registerEvent(String eventClassname, String eventName) {
+ registerEvent(eventClassname, eventName, null);
+ }
+
+ /**
+ * Registers an event.
+ *
+ * @param eventClassname the event classname
+ * @param eventName the event name
* @param eventShortname the event shortname
*/
private static void registerEvent(String eventClassname, String eventName,