<commit_before>%% Copyright (C) 2009-2011, <NAME>.
%%
%% This software is provided "as is" without warranty of any kind,
%% either expressed or implied, including but not limited to the
%% implied warranties of fitness for a particular purpose.
%%
%% See the LICENSE file for more information.

\section{Lobby}

A \dfn{lobby} is the local environment for each (remote or local)
connection to an \urbi server.

\subsection{Prototypes}
\begin{itemize}
\item \refSlot[Channel]{topLevel}, an instance of \refObject{Channel}
  with an empty Channel name.
\end{itemize}

\subsection{Construction}

A lobby is implicitly created at each connection. At the top level,
\this is a \dfn{Lobby}.

\begin{urbiscript}
this.protos;
[00000001] [Lobby]
this.protos[0].protos;
[00000003] [Channel_0xADDR]
\end{urbiscript}

Lobbies cannot be cloned, they must be created using \refSlot{create}.

\begin{urbiscript}
Lobby.new;<commit_msg>Skip lobby-00 test until the issue 4628 is solved.<commit_after>%% Copyright (C) 2009-2011, <NAME>.
%%
%% This software is provided "as is" without warranty of any kind,
%% either expressed or implied, including but not limited to the
%% implied warranties of fitness for a particular purpose.
%%
%% See the LICENSE file for more information.

\begin{urbicomment}
// With a kernel compiled in compilation mode speed and run under Linux, the
// test lobby-00.chk is failing due:
// 0/ Missing objects slots. (caused by 1)
// 1/ double malloc error of the static allocator.
//
// Now the error should goes directly to (1) because the static allocator has
// been instrumented to return 0 instead of already allocated areas.
//
// see bug 4628

if (System.Platform.compilationModeSpeed && !System.Platform.isWindows)
  testSkip("Issue with the static allocator.");
\end{urbicomment}

\section{Lobby}

A \dfn{lobby} is the local environment for each (remote or local)
connection to an \urbi server.

\subsection{Prototypes}
\begin{itemize}
\item \refSlot[Channel]{topLevel}, an instance of \refObject{Channel}
  with an empty Channel name.
\end{itemize}

\subsection{Construction}

A lobby is implicitly created at each connection. At the top level,
\this is a \dfn{Lobby}.

\begin{urbiscript}
this.protos;
[00000001] [Lobby]
this.protos[0].protos;
[00000003] [Channel_0xADDR]
\end{urbiscript}

Lobbies cannot be cloned, they must be created using \refSlot{create}.

\begin{urbiscript}
Lobby.new;
{'fraction_non_alphanumeric': 0.10622406639004149, 'fraction_numerical': 0.02863070539419087, 'mean_word_length': 4.581018518518518, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3994141', 'n_tokens_mistral': 797, 'n_tokens_neox': 740, 'n_words': 296}