448 lines
22 KiB
HTML
448 lines
22 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 06 17:00:07 PDT 2011 -->
|
|
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<TITLE>
|
|
LobbyRegistry (vilya 1.3 API)
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2011-04-06">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="LobbyRegistry (vilya 1.3 API)";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LobbyRegistry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html" title="interface in com.threerings.micasa.lobby"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbySelector.html" title="class in com.threerings.micasa.lobby"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?com/threerings/micasa/lobby/LobbyRegistry.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="LobbyRegistry.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
com.threerings.micasa.lobby</FONT>
|
|
<BR>
|
|
Class LobbyRegistry</H2>
|
|
<PRE>
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
|
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.threerings.micasa.lobby.LobbyRegistry</B>
|
|
</PRE>
|
|
<DL>
|
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html" title="interface in com.threerings.micasa.lobby">LobbyProvider</A>, com.threerings.presents.server.InvocationProvider</DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>LobbyRegistry</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html" title="interface in com.threerings.micasa.lobby">LobbyProvider</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
The lobby registry is the primary class that coordinates the lobby services on the client. It
|
|
sets up the necessary invocation services and keeps track of the lobbies in operation on the
|
|
server. Only one lobby registry should be created on a server.
|
|
|
|
<p> Presently, the lobby registry is configured with lobbies via the server configuration. An
|
|
example configuration follows:
|
|
|
|
<pre>
|
|
lobby_ids = foolobby, barlobby, bazlobby
|
|
|
|
foolobby.mgrclass = com.threerings.micasa.lobby.LobbyManager
|
|
foolobby.ugi = <universal game identifier>
|
|
foolobby.name = <human readable lobby name>
|
|
foolobby.config1 = some config value
|
|
foolobby.config2 = some other config value
|
|
|
|
barlobby.mgrclass = com.threerings.micasa.lobby.LobbyManager
|
|
barlobby.ugi = <universal game identifier>
|
|
barlobby.name = <human readable lobby name>
|
|
...
|
|
</pre>
|
|
|
|
This information will be loaded from the MiCasa server configuration which means that it should
|
|
live in <code>rsrc/config/micasa/server.properties</code> somwhere in the classpath where it
|
|
will override the default MiCasa server properties file.
|
|
|
|
<p> The <code>UGI</code> or universal game identifier is a string that is used to uniquely
|
|
identify every type of game and also to classify it according to meaningful keywords. It is best
|
|
described with a few examples:
|
|
|
|
<pre>
|
|
backgammon,board,strategy
|
|
spades,card,partner
|
|
yahtzee,dice
|
|
</pre>
|
|
|
|
As you can see, a UGI should start with an identifier uniquely identifying the type of game and
|
|
can be followed by a list of keywords that classify it as a member of a particular category of
|
|
games (eg. board, card, dice, partner game, strategy game). A game can belong to multiple
|
|
categories.
|
|
|
|
<p> As long as the UGIs in use by a particular server make some kind of sense, the client will
|
|
be able to use them to search for lobbies containing games of similar types using the provided
|
|
facilities.
|
|
<P>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../../com/threerings/micasa/lobby/LobbyRegistry.html#LobbyRegistry(com.threerings.presents.server.InvocationManager)">LobbyRegistry</A></B>(com.threerings.presents.server.InvocationManager invmgr)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/threerings/micasa/lobby/LobbyRegistry.html#getCategories(com.threerings.crowd.data.BodyObject)">getCategories</A></B>(com.threerings.crowd.data.BodyObject requester)</CODE>
|
|
|
|
<BR>
|
|
Returns an array containing the category identifiers of all the categories in which lobbies
|
|
have been registered with the registry.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/threerings/micasa/lobby/LobbyRegistry.html#getCategories(com.threerings.presents.data.ClientObject, com.threerings.micasa.lobby.LobbyService.CategoriesListener)">getCategories</A></B>(com.threerings.presents.data.ClientObject caller,
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbyService.CategoriesListener.html" title="interface in com.threerings.micasa.lobby">LobbyService.CategoriesListener</A> listener)</CODE>
|
|
|
|
<BR>
|
|
Processes a request by the client to obtain a list of the lobby categories available on this
|
|
server.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/threerings/micasa/lobby/LobbyRegistry.html#getDefaultLobbyOid()">getDefaultLobbyOid</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the oid of the default lobby.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/threerings/micasa/lobby/LobbyRegistry.html#getLobbies(com.threerings.crowd.data.BodyObject, java.lang.String, java.util.List)">getLobbies</A></B>(com.threerings.crowd.data.BodyObject requester,
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> category,
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/threerings/micasa/lobby/Lobby.html" title="class in com.threerings.micasa.lobby">Lobby</A>> target)</CODE>
|
|
|
|
<BR>
|
|
Returns information about all lobbies hosting games in the specified category.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/threerings/micasa/lobby/LobbyRegistry.html#getLobbies(com.threerings.presents.data.ClientObject, java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener)">getLobbies</A></B>(com.threerings.presents.data.ClientObject caller,
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> category,
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbyService.LobbiesListener.html" title="interface in com.threerings.micasa.lobby">LobbyService.LobbiesListener</A> listener)</CODE>
|
|
|
|
<BR>
|
|
Processes a request by the client to obtain a list of lobbies matching the supplied category
|
|
string.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../com/threerings/micasa/lobby/LobbyRegistry.html#init()">init</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Initializes the registry, creating our default lobbies.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="LobbyRegistry(com.threerings.presents.server.InvocationManager)"><!-- --></A><H3>
|
|
LobbyRegistry</H3>
|
|
<PRE>
|
|
<FONT SIZE="-1">@Inject
|
|
</FONT>public <B>LobbyRegistry</B>(com.threerings.presents.server.InvocationManager invmgr)</PRE>
|
|
<DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="init()"><!-- --></A><H3>
|
|
init</H3>
|
|
<PRE>
|
|
public void <B>init</B>()</PRE>
|
|
<DL>
|
|
<DD>Initializes the registry, creating our default lobbies.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultLobbyOid()"><!-- --></A><H3>
|
|
getDefaultLobbyOid</H3>
|
|
<PRE>
|
|
public int <B>getDefaultLobbyOid</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the oid of the default lobby.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLobbies(com.threerings.crowd.data.BodyObject, java.lang.String, java.util.List)"><!-- --></A><H3>
|
|
getLobbies</H3>
|
|
<PRE>
|
|
public void <B>getLobbies</B>(com.threerings.crowd.data.BodyObject requester,
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> category,
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/threerings/micasa/lobby/Lobby.html" title="class in com.threerings.micasa.lobby">Lobby</A>> target)</PRE>
|
|
<DL>
|
|
<DD>Returns information about all lobbies hosting games in the specified category.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>requester</CODE> - the body object of the client requesting the lobby list (which can be used
|
|
to filter the list based on their capabilities).<DD><CODE>category</CODE> - the category of game for which the lobbies are desired.<DD><CODE>target</CODE> - the list into which the matching lobbies will be deposited.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCategories(com.threerings.crowd.data.BodyObject)"><!-- --></A><H3>
|
|
getCategories</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getCategories</B>(com.threerings.crowd.data.BodyObject requester)</PRE>
|
|
<DL>
|
|
<DD>Returns an array containing the category identifiers of all the categories in which lobbies
|
|
have been registered with the registry.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>requester</CODE> - the body object of the client requesting the category list (which can be
|
|
used to filter the list based on their capabilities).</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCategories(com.threerings.presents.data.ClientObject, com.threerings.micasa.lobby.LobbyService.CategoriesListener)"><!-- --></A><H3>
|
|
getCategories</H3>
|
|
<PRE>
|
|
public void <B>getCategories</B>(com.threerings.presents.data.ClientObject caller,
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbyService.CategoriesListener.html" title="interface in com.threerings.micasa.lobby">LobbyService.CategoriesListener</A> listener)</PRE>
|
|
<DL>
|
|
<DD>Processes a request by the client to obtain a list of the lobby categories available on this
|
|
server.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html#getCategories(com.threerings.presents.data.ClientObject, com.threerings.micasa.lobby.LobbyService.CategoriesListener)">getCategories</A></CODE> in interface <CODE><A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html" title="interface in com.threerings.micasa.lobby">LobbyProvider</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLobbies(com.threerings.presents.data.ClientObject, java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener)"><!-- --></A><H3>
|
|
getLobbies</H3>
|
|
<PRE>
|
|
public void <B>getLobbies</B>(com.threerings.presents.data.ClientObject caller,
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> category,
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbyService.LobbiesListener.html" title="interface in com.threerings.micasa.lobby">LobbyService.LobbiesListener</A> listener)</PRE>
|
|
<DL>
|
|
<DD>Processes a request by the client to obtain a list of lobbies matching the supplied category
|
|
string.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html#getLobbies(com.threerings.presents.data.ClientObject, java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener)">getLobbies</A></CODE> in interface <CODE><A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html" title="interface in com.threerings.micasa.lobby">LobbyProvider</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LobbyRegistry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbyProvider.html" title="interface in com.threerings.micasa.lobby"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../com/threerings/micasa/lobby/LobbySelector.html" title="class in com.threerings.micasa.lobby"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?com/threerings/micasa/lobby/LobbyRegistry.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="LobbyRegistry.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
Copyright © 2011. All Rights Reserved.
|
|
</BODY>
|
|
</HTML>
|