gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r33528 - gnunet-java/doc


From: gnunet
Subject: [GNUnet-SVN] r33528 - gnunet-java/doc
Date: Wed, 4 Jun 2014 20:06:21 +0200

Author: dold
Date: 2014-06-04 20:06:21 +0200 (Wed, 04 Jun 2014)
New Revision: 33528

Modified:
   gnunet-java/doc/gnunet-java-tutorial.pdf
   gnunet-java/doc/gnunet-java-tutorial.tex
Log:
- rename mesh to cadet in tutorial


Modified: gnunet-java/doc/gnunet-java-tutorial.pdf
===================================================================
(Binary files differ)

Modified: gnunet-java/doc/gnunet-java-tutorial.tex
===================================================================
--- gnunet-java/doc/gnunet-java-tutorial.tex    2014-06-04 17:49:35 UTC (rev 
33527)
+++ gnunet-java/doc/gnunet-java-tutorial.tex    2014-06-04 18:06:21 UTC (rev 
33528)
@@ -383,12 +383,12 @@
 
 \exercise{Write an echo program for CORE: Send a message to the local peer and 
receive it!}
 
-\section{Establishing channels to remote peers with MESH}
-In contrast to CORE, the MESH
-service can send messages reliably (if requested) over channels to distant 
peers, who must not necessarily be directly connected.
-The following code connects to the mesh service, and waits for connections on 
port 42:
+\section{Establishing channels to remote peers with CADET}
+In contrast to CORE, the CADET (Confidential Ad-hoc Decentralized End-to-End 
Transport)
+service \footnote{Formerly known as MESH service} can send messages reliably 
(if requested) over channels to distant peers, who must not necessarily be 
directly connected.
+The following code connects to the CADET service, and waits for connections on 
port 42:
 \begin{lstlisting}[language=java]
-Mesh m = new Mesh(cfg, inboundChannelHandler, messageHandler, 42);
+Cadet m = new Cadet(cfg, inboundChannelHandler, messageHandler, 42);
 \end{lstlisting}
 
 The \texttt{inboundChannelHandler}'s \texttt{onInboundChannel} is called 
whenever another peer wants to establish a connection
@@ -401,7 +401,7 @@
 Channel c = m.createChannel(targetPeer, 42, true, true);
 \end{lstlisting}
 
-A channel can be used to send messages, which are first queued and then sent 
to the mesh service:
+A channel can be used to send messages, which are first queued and then sent 
to the CADET service:
 \begin{lstlisting}[language=java]
 c.send(myMessage);
 \end{lstlisting}
@@ -415,10 +415,10 @@
 c.send(myMessage);
 // use ev.cancel() to abort sending the message
 \end{lstlisting}
-Note that the notification is called when the local MESH service accepts the 
message for further transmission,
+Note that the notification is called when the local CADET service accepts the 
message for further transmission,
 not when the target peer receives the message.
 
-\exercise{Write a netcat-style tool that allows to interactively send and 
receive a stream of text on the command line over MESH.}
+\exercise{Write a netcat-style tool that allows to interactively send and 
receive a stream of text on the command line over CADET.}
 
 \section{Managing a peer's egos}
 An ego in GNUnet is a name tied to a key pair. Egos can represent the identity 
of actual users, organisations,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]