Mercurial > hg > Papers > 2015 > oc-thesis
view Refactoring.tex @ 0:55118a87c700
add all files
author | oc |
---|---|
date | Sun, 01 Feb 2015 07:02:29 +0900 |
parents | |
children |
line wrap: on
line source
\chapter{TreeVNC のリファクタリング} \section{動的な port 番号の指定} \begin{table*}[htb] \scriptsize \begin{tabular}{|l|l|l|} \hline 通信経路 & message & 説明 \\ \hline \hline & FIND\_ROOT & 子node接続時にrootを探す。 \\ \cline{2-3} send direct message & WHERE\_TO\_CONNECT & どのnodeに接続すれば良いかを聞く。 \\ \cline{2-3} (child to root) & LOST\_PARENT & 親nodeの接続が切れた時にrootに知らせる。 \\ \hline & FIND\_ROOT\_REPLY & FIND\_ROOTへの返信。 \\ \cline{2-3} send direct message & CONNECT\_TO & nodeとnodeの接続をする。 \\ \cline{2-3} (root to child) & CONNECT\_TO\_AS\_LEADER & 左子nodeとして、nodeとnodeの接続をする。 \\ \hline message down tree & FRAMEBUFFER\_UPDATE & 画面の差分の画像データ。EncodingTypeを持っている。\\ \cline{2-3} (root to child) & CHECK\_DELAY & 通信の遅延を測定するmessage。 \\ \hline message up tree & CHECK\_DELAY\_REPLY & CHECK\_DELAYへの返信。 \\ \cline{2-3} (child to root) & SERVER\_CHANGE\_REQUEST & 画面切り替えのリクエスト。 \\ \hline & FRAMEBUFFER\_UPDATE\_REPLY & FRAMEBUFFER\_UPDATEのリクエスト。 \\ \cline{2-3} send message & SET\_PIXEL\_FORMAT & pixel値の設定。 \\ \cline{2-3} (root to VNCServer) & SET\_ENCODINGS & pixelデータのencodeTypeの設定。 \\ \cline{2-3} & KEY\_EVENT & キーボードからのイベント。 \\ \cline{2-3} & POINTER\_EVENT & ポインタからのイベント。 \\ \cline{2-3} & CLIENT\_CUT\_TEXT & テキストのカットバッファを持った際のmessage。 \\ \hline & FRAMEBUFFER\_UPDATE & 大本の画面の差分の画像データ。EncodingTypeを持っている。 \\ \cline{2-3} send message & SET\_COLOR\_MAP\_ENTRIES & 指定されているpixel値にマップするRGB値。 \\ \cline{2-3} (VNCServer to root) & BELL & ビープ音を鳴らす。 \\ \cline{2-3} & SERVER\_CUT\_TEXT & サーバがテキストのカットバッファを持った際のmessage。 \\ \hline \end{tabular} \label{tb:message} \caption{通信経路とmessage一覧} \end{table*} \newpage \section{Tree の構成の変更} \subsection{複数のネットワークインターフェース接続} \begin{figure}[htpd] \begin{center} \includegraphics[scale=0.4]{./images/MultiNetworkTree.pdf} \end{center} \caption{Multi Network Tree} \label{fig:gpuarch} \end{figure} \section{ホスト切り替え時の挙動の修正}