diff options
| author | Paul Buetow <paul@buetow.org> | 2008-08-17 14:32:13 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-08-17 14:32:13 +0000 |
| commit | 340bb7ce8900be19d97d4f17340d4e3b0c8fba4b (patch) | |
| tree | 32e7e88633288e39f44a3db2b5d9b3115f53edae | |
| parent | 9a7946ee34cf2b13a0dc1f8dcaefb02052514aaa (diff) | |
foo
| -rw-r--r-- | LaTeX/Vortrag/vortrag.pdf | bin | 176523 -> 176987 bytes | |||
| -rw-r--r-- | LaTeX/Vortrag/vortrag.tex | 13 | ||||
| -rw-r--r-- | sources/protocols/implementations/VSPingPongProtocol.java | 12 | ||||
| -rw-r--r-- | sources/protocols/implementations/VSReliableMulticastProtocol.java | 4 |
4 files changed, 14 insertions, 15 deletions
diff --git a/LaTeX/Vortrag/vortrag.pdf b/LaTeX/Vortrag/vortrag.pdf Binary files differindex 426abe4..c82e193 100644 --- a/LaTeX/Vortrag/vortrag.pdf +++ b/LaTeX/Vortrag/vortrag.pdf diff --git a/LaTeX/Vortrag/vortrag.tex b/LaTeX/Vortrag/vortrag.tex index 4e8150f..9309fe7 100644 --- a/LaTeX/Vortrag/vortrag.tex +++ b/LaTeX/Vortrag/vortrag.tex @@ -35,7 +35,7 @@ \frame{ \frametitle{Was ist ein verteiltes System?} \begin{itemize} - \item<1-> Zitat A. Tanenbaum und M. van Steen, Verteilte Systeme: ``\textit{Ein verteiltes System ist eine Menge voneinander unabh\"{a}ngiger Computer, die dem Anwender wie ein einzelnes, koh\"{a}rentes System erscheinen}'' + \item<1-> Zitat Tanenbaum, van Steen; Verteilte Systeme: ``\textit{Ein verteiltes System ist eine Menge voneinander unabh\"{a}ngiger Computer, die dem Anwender wie ein einzelnes, koh\"{a}rentes System erscheinen}'' \item<1-> Anwender muss sich nur mit dem vor ihm befindlichen Computer auseinandersetzen \item<1-> Verteiltes System stellt die Kommunikation mit anderen Computern sicher \item<1-> Gemeinsame Nutzung von Ressourcen @@ -47,7 +47,7 @@ \frame{ \frametitle{Motivation} \begin{itemize} - \item<1-> Betrachtung von verteilten Systemen aus einer anderen Sicht (Lehr- und Lernzwecke) + \item<1-> Betrachtung von verteilten Systemen aus einer anderen Sicht (Lehrzwecke) \item<1-> Transparente Darstellung von verteilten Systemen \item<1-> Entwicklung eines Simulators (VS-Simulator oder auch VS-Sim.) \begin{itemize} @@ -160,7 +160,7 @@ \frame{ \frametitle{Verschiedene Einstellungsm\"{o}glichkeiten} \begin{itemize} - \item<1-> Vom Anwender einstellbar + \item<1-> Vom Anwender einstellbar und abspeicherbar \begin{itemize} \item<1-> Globale Simulationseinstellungen \item<1-> Separate Einstellungen f\"{u}r jeden Prozess @@ -201,8 +201,8 @@ \item<1-> Das Beispiel (Dummy) Protokoll \item<1-> Das Ping-Pong Protokoll \item<1-> Ping-Pong Sturm - \item<1-> Das Protokoll zur Christians Methode zur externen Synchronisierung - \item<1-> Der zuverl\"{a}ssige (Reliable) Multicast + \item<1-> Das Protokoll zur Christians Methode zur externen Synchronisierung \textit{(wenn genug Zeit)} + \item<1-> Der zuverl\"{a}ssige (Reliable) Multicast \textit{(wenn genug Zeit)} \end{itemize} } @@ -227,7 +227,6 @@ \item<1-> \texttt{public void onServerStart()} \item<1-> \texttt{public void onServerRecv(VSMessage message)} \item<1-> \texttt{public void onServerSchedule()} - \item<1-> \texttt{String toString()} (Nur optional) \end{itemize} } @@ -271,7 +270,7 @@ \subsection{Zahlen und Fakten} \frame{ -\frametitle{Zahlen und Fakten von VS-Sim.} +\frametitle{VS-Sim.: Zahlen und Fakten} \begin{itemize} \item<1-> Quelltext-Dateien: 61 \item<1-> Java-Pakete: 12 diff --git a/sources/protocols/implementations/VSPingPongProtocol.java b/sources/protocols/implementations/VSPingPongProtocol.java index f82d991..c9d763b 100644 --- a/sources/protocols/implementations/VSPingPongProtocol.java +++ b/sources/protocols/implementations/VSPingPongProtocol.java @@ -69,7 +69,7 @@ public class VSPingPongProtocol extends VSAbstractProtocol { VSMessage message = new VSMessage(); message.setBoolean("fromClient", true); message.setInteger("counter", ++clientCounter); - sendMessage(message); + super.sendMessage(message); } /* (non-Javadoc) @@ -79,12 +79,12 @@ public class VSPingPongProtocol extends VSAbstractProtocol { if (!recvMessage.getBoolean("fromServer")) return; - log("message: " + recvMessage.getInteger("counter")); + super.log("message: " + recvMessage.getInteger("counter")); VSMessage message = new VSMessage(); message.setBoolean("fromClient", true); message.setInteger("counter", ++clientCounter); - sendMessage(message); + super.sendMessage(message); } /* (non-Javadoc) @@ -113,12 +113,12 @@ public class VSPingPongProtocol extends VSAbstractProtocol { if (!recvMessage.getBoolean("fromClient")) return; - log("message: " + recvMessage.getInteger("counter")); + super.log("message: " + recvMessage.getInteger("counter")); VSMessage message = new VSMessage(); message.setBoolean("fromServer", true); message.setInteger("counter", ++serverCounter); - sendMessage(message); + super.sendMessage(message); } /* (non-Javadoc) @@ -131,6 +131,6 @@ public class VSPingPongProtocol extends VSAbstractProtocol { * @see protocols.VSAbstractProtocol#toString() */ public String toString() { - return super.toString(); + return super.toString() + "; Neue Nachricht da hinter"; } } diff --git a/sources/protocols/implementations/VSReliableMulticastProtocol.java b/sources/protocols/implementations/VSReliableMulticastProtocol.java index 23f5857..57b943c 100644 --- a/sources/protocols/implementations/VSReliableMulticastProtocol.java +++ b/sources/protocols/implementations/VSReliableMulticastProtocol.java @@ -58,8 +58,8 @@ public class VSReliableMulticastProtocol extends VSAbstractProtocol { vec.add(1); vec.add(3); - initVector("pids", vec, "PIDs beteiligter Prozesse"); - initLong("timeout", 2500, "Zeit bis erneute Anfrage", "ms"); + super.initVector("pids", vec, "PIDs beteiligter Prozesse"); + super.initLong("timeout", 2500, "Zeit bis erneute Anfrage", "ms"); } /* (non-Javadoc) |
