606 lines
31 KiB
HTML
606 lines
31 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_31) on Sat Mar 14 10:07:08 PDT 2015 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>TableDirector (Vilya Core 1.6 API)</title>
|
|
<meta name="date" content="2015-03-14">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="TableDirector (Vilya Core 1.6 API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/TableDirector.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/threerings/parlor/client/TableConfigurator.html" title="class in com.threerings.parlor.client"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/threerings/parlor/client/TableDirector.html" target="_top">Frames</a></li>
|
|
<li><a href="TableDirector.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.threerings.parlor.client</div>
|
|
<h2 title="Class TableDirector" class="title">Class TableDirector</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.threerings.presents.client.BasicDirector</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.threerings.parlor.client.TableDirector</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd>com.threerings.presents.client.InvocationService.InvocationListener, com.threerings.presents.client.InvocationService.ResultListener, com.threerings.presents.client.SessionObserver, com.threerings.presents.dobj.ChangeListener, com.threerings.presents.dobj.SetListener<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">TableDirector</span>
|
|
extends com.threerings.presents.client.BasicDirector
|
|
implements com.threerings.presents.dobj.SetListener<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>>, com.threerings.presents.client.InvocationService.ResultListener</pre>
|
|
<div class="block">As tables are created and managed within the scope of a place (a lobby), we want to fold the
|
|
table management functionality into the standard hierarchy of place controllers that deal with
|
|
place-related functionality on the client. Thus, instead of forcing places that expect to have
|
|
tables to extend a <code>TableLobbyController</code> or something similar, we instead provide
|
|
the table director which can be instantiated by the place controller (or specific table related
|
|
views) to handle the table matchmaking services.
|
|
|
|
<p> Entites that do so, will need to implement the <a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client"><code>TableObserver</code></a> interface so that the
|
|
table director can notify them when table related things happen.
|
|
|
|
<p> The table services expect that the place object being used as a lobby in which the table
|
|
matchmaking takes place implements the <a href="../../../../com/threerings/parlor/data/TableLobbyObject.html" title="interface in com.threerings.parlor.data"><code>TableLobbyObject</code></a> interface.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#TableDirector-com.threerings.parlor.util.ParlorContext-java.lang.String-com.threerings.parlor.client.TableObserver-">TableDirector</a></span>(<a href="../../../../com/threerings/parlor/util/ParlorContext.html" title="interface in com.threerings.parlor.util">ParlorContext</a> ctx,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableField,
|
|
<a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client">TableObserver</a> observer)</code>
|
|
<div class="block">Creates a new table director to manage tables with the specified observer which will receive
|
|
callbacks when interesting table related things happen.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#addSeatednessObserver-com.threerings.parlor.client.SeatednessObserver-">addSeatednessObserver</a></span>(<a href="../../../../com/threerings/parlor/client/SeatednessObserver.html" title="interface in com.threerings.parlor.client">SeatednessObserver</a> observer)</code>
|
|
<div class="block">Requests that the specified observer be added to the list of observers that are notified
|
|
when this client sits down at or stands up from a table.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#bootPlayer-int-com.threerings.util.Name-">bootPlayer</a></span>(int tableId,
|
|
com.threerings.util.Name target)</code>
|
|
<div class="block">Sends a request to boot a player from a table.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#clearTableObject--">clearTableObject</a></span>()</code>
|
|
<div class="block">This must be called by the entity that uses the table director when the using entity has
|
|
left and is done dealing with tables.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#clientDidLogoff-com.threerings.presents.client.Client-">clientDidLogoff</a></span>(com.threerings.presents.client.Client client)</code> </td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#createTable-com.threerings.parlor.data.TableConfig-com.threerings.parlor.game.data.GameConfig-">createTable</a></span>(<a href="../../../../com/threerings/parlor/data/TableConfig.html" title="class in com.threerings.parlor.data">TableConfig</a> tableConfig,
|
|
<a href="../../../../com/threerings/parlor/game/data/GameConfig.html" title="class in com.threerings.parlor.game.data">GameConfig</a> config)</code>
|
|
<div class="block">Sends a request to create a table with the specified game configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#entryAdded-com.threerings.presents.dobj.EntryAddedEvent-">entryAdded</a></span>(com.threerings.presents.dobj.EntryAddedEvent<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>> event)</code> </td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#entryRemoved-com.threerings.presents.dobj.EntryRemovedEvent-">entryRemoved</a></span>(com.threerings.presents.dobj.EntryRemovedEvent<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>> event)</code> </td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#entryUpdated-com.threerings.presents.dobj.EntryUpdatedEvent-">entryUpdated</a></span>(com.threerings.presents.dobj.EntryUpdatedEvent<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>> event)</code> </td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#getSeatedTable--">getSeatedTable</a></span>()</code>
|
|
<div class="block">Returns the current table this client is seated at, or null.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#isSeated--">isSeated</a></span>()</code>
|
|
<div class="block">Returns true if this client is currently seated at a table, false if they are not.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#joinTable-int-int-">joinTable</a></span>(int tableId,
|
|
int position)</code>
|
|
<div class="block">Sends a request to join the specified table at the specified position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#leaveTable-int-">leaveTable</a></span>(int tableId)</code>
|
|
<div class="block">Sends a request to leave the specified table at which we are presumably seated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#removeSeatednessObserver-com.threerings.parlor.client.SeatednessObserver-">removeSeatednessObserver</a></span>(<a href="../../../../com/threerings/parlor/client/SeatednessObserver.html" title="interface in com.threerings.parlor.client">SeatednessObserver</a> observer)</code>
|
|
<div class="block">Requests that the specified observer be removed from to the list of observers that are
|
|
notified when this client sits down at or stands up from a table.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#requestFailed-java.lang.String-">requestFailed</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> reason)</code> </td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#requestProcessed-java.lang.Object-">requestProcessed</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> result)</code> </td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#setTableObject-com.threerings.presents.dobj.DObject-">setTableObject</a></span>(com.threerings.presents.dobj.DObject tlobj)</code>
|
|
<div class="block">This must be called by the entity that uses the table director when the using entity
|
|
prepares to enter and display a place.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/threerings/parlor/client/TableDirector.html#startTableNow-int-">startTableNow</a></span>(int tableId)</code>
|
|
<div class="block">Sends a request to have the specified table start now, even if all the seats have not yet
|
|
been filled.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.com.threerings.presents.client.BasicDirector">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class com.threerings.presents.client.BasicDirector</h3>
|
|
<code>clientDidLogon, clientObjectDidChange, clientWillLogon, isAvailableInStandalone, setAvailableInStandalone</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="TableDirector-com.threerings.parlor.util.ParlorContext-java.lang.String-com.threerings.parlor.client.TableObserver-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>TableDirector</h4>
|
|
<pre>public TableDirector(<a href="../../../../com/threerings/parlor/util/ParlorContext.html" title="interface in com.threerings.parlor.util">ParlorContext</a> ctx,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableField,
|
|
<a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client">TableObserver</a> observer)</pre>
|
|
<div class="block">Creates a new table director to manage tables with the specified observer which will receive
|
|
callbacks when interesting table related things happen.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ctx</code> - the parlor context in use by the client.</dd>
|
|
<dd><code>tableField</code> - the field name of the distributed set that contains the tables we will be
|
|
managing.</dd>
|
|
<dd><code>observer</code> - the entity that will receive callbacks when things happen to the tables.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="setTableObject-com.threerings.presents.dobj.DObject-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTableObject</h4>
|
|
<pre>public void setTableObject(com.threerings.presents.dobj.DObject tlobj)</pre>
|
|
<div class="block">This must be called by the entity that uses the table director when the using entity
|
|
prepares to enter and display a place.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="clearTableObject--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearTableObject</h4>
|
|
<pre>public void clearTableObject()</pre>
|
|
<div class="block">This must be called by the entity that uses the table director when the using entity has
|
|
left and is done dealing with tables.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addSeatednessObserver-com.threerings.parlor.client.SeatednessObserver-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addSeatednessObserver</h4>
|
|
<pre>public void addSeatednessObserver(<a href="../../../../com/threerings/parlor/client/SeatednessObserver.html" title="interface in com.threerings.parlor.client">SeatednessObserver</a> observer)</pre>
|
|
<div class="block">Requests that the specified observer be added to the list of observers that are notified
|
|
when this client sits down at or stands up from a table.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeSeatednessObserver-com.threerings.parlor.client.SeatednessObserver-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeSeatednessObserver</h4>
|
|
<pre>public void removeSeatednessObserver(<a href="../../../../com/threerings/parlor/client/SeatednessObserver.html" title="interface in com.threerings.parlor.client">SeatednessObserver</a> observer)</pre>
|
|
<div class="block">Requests that the specified observer be removed from to the list of observers that are
|
|
notified when this client sits down at or stands up from a table.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isSeated--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSeated</h4>
|
|
<pre>public boolean isSeated()</pre>
|
|
<div class="block">Returns true if this client is currently seated at a table, false if they are not.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getSeatedTable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSeatedTable</h4>
|
|
<pre>public <a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a> getSeatedTable()</pre>
|
|
<div class="block">Returns the current table this client is seated at, or null.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createTable-com.threerings.parlor.data.TableConfig-com.threerings.parlor.game.data.GameConfig-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createTable</h4>
|
|
<pre>public void createTable(<a href="../../../../com/threerings/parlor/data/TableConfig.html" title="class in com.threerings.parlor.data">TableConfig</a> tableConfig,
|
|
<a href="../../../../com/threerings/parlor/game/data/GameConfig.html" title="class in com.threerings.parlor.game.data">GameConfig</a> config)</pre>
|
|
<div class="block">Sends a request to create a table with the specified game configuration. This user will
|
|
become the owner of this table and will be added to the first position in the table. The
|
|
response will be communicated via the <a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client"><code>TableObserver</code></a> interface.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="joinTable-int-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>joinTable</h4>
|
|
<pre>public void joinTable(int tableId,
|
|
int position)</pre>
|
|
<div class="block">Sends a request to join the specified table at the specified position. The response will be
|
|
communicated via the <a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client"><code>TableObserver</code></a> interface.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="leaveTable-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>leaveTable</h4>
|
|
<pre>public void leaveTable(int tableId)</pre>
|
|
<div class="block">Sends a request to leave the specified table at which we are presumably seated. The response
|
|
will be communicated via the <a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client"><code>TableObserver</code></a> interface.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="startTableNow-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>startTableNow</h4>
|
|
<pre>public void startTableNow(int tableId)</pre>
|
|
<div class="block">Sends a request to have the specified table start now, even if all the seats have not yet
|
|
been filled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="bootPlayer-int-com.threerings.util.Name-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bootPlayer</h4>
|
|
<pre>public void bootPlayer(int tableId,
|
|
com.threerings.util.Name target)</pre>
|
|
<div class="block">Sends a request to boot a player from a table.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="clientDidLogoff-com.threerings.presents.client.Client-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clientDidLogoff</h4>
|
|
<pre>public void clientDidLogoff(com.threerings.presents.client.Client client)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>clientDidLogoff</code> in interface <code>com.threerings.presents.client.SessionObserver</code></dd>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code>clientDidLogoff</code> in class <code>com.threerings.presents.client.BasicDirector</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="entryAdded-com.threerings.presents.dobj.EntryAddedEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>entryAdded</h4>
|
|
<pre>public void entryAdded(com.threerings.presents.dobj.EntryAddedEvent<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>> event)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>entryAdded</code> in interface <code>com.threerings.presents.dobj.SetListener<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="entryUpdated-com.threerings.presents.dobj.EntryUpdatedEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>entryUpdated</h4>
|
|
<pre>public void entryUpdated(com.threerings.presents.dobj.EntryUpdatedEvent<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>> event)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>entryUpdated</code> in interface <code>com.threerings.presents.dobj.SetListener<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="entryRemoved-com.threerings.presents.dobj.EntryRemovedEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>entryRemoved</h4>
|
|
<pre>public void entryRemoved(com.threerings.presents.dobj.EntryRemovedEvent<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>> event)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>entryRemoved</code> in interface <code>com.threerings.presents.dobj.SetListener<<a href="../../../../com/threerings/parlor/data/Table.html" title="class in com.threerings.parlor.data">Table</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="requestProcessed-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>requestProcessed</h4>
|
|
<pre>public void requestProcessed(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> result)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>requestProcessed</code> in interface <code>com.threerings.presents.client.InvocationService.ResultListener</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="requestFailed-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>requestFailed</h4>
|
|
<pre>public void requestFailed(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> reason)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>requestFailed</code> in interface <code>com.threerings.presents.client.InvocationService.InvocationListener</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/TableDirector.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/threerings/parlor/client/TableConfigurator.html" title="class in com.threerings.parlor.client"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/threerings/parlor/client/TableObserver.html" title="interface in com.threerings.parlor.client"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/threerings/parlor/client/TableDirector.html" target="_top">Frames</a></li>
|
|
<li><a href="TableDirector.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small>Copyright © 2015. All rights reserved.</small></p>
|
|
</body>
|
|
</html>
|