X-Git-Url: https://git.rohieb.name/skm-ma-ws1314.git/blobdiff_plain/94cb4638c0b154bba68386a18eb63dfa12460a25..9fd9db35d4e21e28704b69e52973a2ace769e28f:/sec-xmpp.tex diff --git a/sec-xmpp.tex b/sec-xmpp.tex index fbc1dbe..213f3c2 100644 --- a/sec-xmpp.tex +++ b/sec-xmpp.tex @@ -95,7 +95,7 @@ and several ``away'' or ``do not disturb'' states), a user needs to subscribe to the other user's status. The mechanism behind this is called \term{Publish-Subscribe} and is specified in XEP-0060~\cite{xep0060}. It can be used to notify interested users about changes in personal information, and -implements the well-known Observer pattern. +implements the well-known Observer pattern~\cite{GOF95}. A user publishes information by creating a \term{node} on the XMPP server, which acts as a handle for the data. Interested users can then query the server for @@ -160,7 +160,7 @@ publish the following four mDNS records: \begin{itemize} \item an A record \code{capulet.local}, specifying her IP address, \item an SRV record \code{juliet@capulet.\_presence.\_tcp.local}, specifying - the port on which her XMPP client listens, and refering to + the port on which her XMPP client listens, and referring to \code{capulet.local} as the host name \item a PTR record \code{\_presence.\_tcp.local} for service discovery, pointing to \code{juliet@capulet.\_presence.\_tcp.local}