@Generated annotation.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6050 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2010-04-07 05:33:54 +00:00
parent e5b45f2ef0
commit 43e556fb59
38 changed files with 282 additions and 0 deletions
@@ -21,6 +21,7 @@
package com.threerings.presents.data;
import javax.annotation.Generated;
import com.threerings.util.Name;
import com.threerings.presents.client.InvocationReceiver;
@@ -35,9 +36,13 @@ public class ClientObject extends DObject
{
// AUTO-GENERATED: FIELDS START
/** The field name of the <code>username</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String USERNAME = "username";
/** The field name of the <code>receivers</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String RECEIVERS = "receivers";
// AUTO-GENERATED: FIELDS END
@@ -139,6 +144,8 @@ public class ClientObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setUsername (Name value)
{
Name ovalue = this.username;
@@ -152,6 +159,8 @@ public class ClientObject extends DObject
* <code>receivers</code> set. The set will not change until the event is
* actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void addToReceivers (InvocationReceiver.Registration elem)
{
requestEntryAdd(RECEIVERS, receivers, elem);
@@ -162,6 +171,8 @@ public class ClientObject extends DObject
* the <code>receivers</code> set. The set will not change until the
* event is actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void removeFromReceivers (Comparable<?> key)
{
requestEntryRemove(RECEIVERS, receivers, key);
@@ -172,6 +183,8 @@ public class ClientObject extends DObject
* <code>receivers</code> set. The set will not change until the event is
* actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void updateReceivers (InvocationReceiver.Registration elem)
{
requestEntryUpdate(RECEIVERS, receivers, elem);
@@ -187,6 +200,8 @@ public class ClientObject extends DObject
* change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setReceivers (DSet<InvocationReceiver.Registration> value)
{
requestAttributeChange(RECEIVERS, value, this.receivers);
@@ -21,6 +21,7 @@
package com.threerings.presents.data;
import javax.annotation.Generated;
import com.threerings.presents.dobj.DObject;
/**
@@ -21,6 +21,8 @@
package com.threerings.presents.data;
import javax.annotation.Generated;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.TimeBaseService;
import com.threerings.presents.dobj.InvocationResponseEvent;
@@ -32,6 +34,9 @@ import com.threerings.presents.dobj.InvocationResponseEvent;
* interfaces that marshall the response arguments and deliver them back
* to the requesting client.
*/
@Generated(value={"com.threerings.presents.tools.GenServiceTask"},
date="2010-04-06T22:31:00-0700",
comments="Derived from the Service class java source.")
public class TimeBaseMarshaller extends InvocationMarshaller
implements TimeBaseService
{
@@ -21,6 +21,7 @@
package com.threerings.presents.data;
import javax.annotation.Generated;
import com.threerings.presents.dobj.DObject;
/**
@@ -41,9 +42,13 @@ public class TimeBaseObject extends DObject
{
// AUTO-GENERATED: FIELDS START
/** The field name of the <code>evenBase</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String EVEN_BASE = "evenBase";
/** The field name of the <code>oddBase</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String ODD_BASE = "oddBase";
// AUTO-GENERATED: FIELDS END
@@ -137,6 +142,8 @@ public class TimeBaseObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setEvenBase (long value)
{
long ovalue = this.evenBase;
@@ -153,6 +160,8 @@ public class TimeBaseObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setOddBase (long value)
{
long ovalue = this.oddBase;
@@ -21,6 +21,7 @@
package com.threerings.presents.peer.data;
import javax.annotation.Generated;
import com.samskivert.util.ObjectUtil;
import com.threerings.io.SimpleStreamableObject;
@@ -36,27 +37,43 @@ public class NodeObject extends DObject
{
// AUTO-GENERATED: FIELDS START
/** The field name of the <code>nodeName</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String NODE_NAME = "nodeName";
/** The field name of the <code>bootStamp</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String BOOT_STAMP = "bootStamp";
/** The field name of the <code>peerService</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String PEER_SERVICE = "peerService";
/** The field name of the <code>clients</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String CLIENTS = "clients";
/** The field name of the <code>locks</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String LOCKS = "locks";
/** The field name of the <code>acquiringLock</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String ACQUIRING_LOCK = "acquiringLock";
/** The field name of the <code>releasingLock</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String RELEASING_LOCK = "releasingLock";
/** The field name of the <code>cacheData</code> field. */
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public static final String CACHE_DATA = "cacheData";
// AUTO-GENERATED: FIELDS END
@@ -163,6 +180,8 @@ public class NodeObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setNodeName (String value)
{
String ovalue = this.nodeName;
@@ -179,6 +198,8 @@ public class NodeObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setBootStamp (long value)
{
long ovalue = this.bootStamp;
@@ -195,6 +216,8 @@ public class NodeObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setPeerService (PeerMarshaller value)
{
PeerMarshaller ovalue = this.peerService;
@@ -208,6 +231,8 @@ public class NodeObject extends DObject
* <code>clients</code> set. The set will not change until the event is
* actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void addToClients (ClientInfo elem)
{
requestEntryAdd(CLIENTS, clients, elem);
@@ -218,6 +243,8 @@ public class NodeObject extends DObject
* the <code>clients</code> set. The set will not change until the
* event is actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void removeFromClients (Comparable<?> key)
{
requestEntryRemove(CLIENTS, clients, key);
@@ -228,6 +255,8 @@ public class NodeObject extends DObject
* <code>clients</code> set. The set will not change until the event is
* actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void updateClients (ClientInfo elem)
{
requestEntryUpdate(CLIENTS, clients, elem);
@@ -243,6 +272,8 @@ public class NodeObject extends DObject
* change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setClients (DSet<ClientInfo> value)
{
requestAttributeChange(CLIENTS, value, this.clients);
@@ -255,6 +286,8 @@ public class NodeObject extends DObject
* <code>locks</code> set. The set will not change until the event is
* actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void addToLocks (NodeObject.Lock elem)
{
requestEntryAdd(LOCKS, locks, elem);
@@ -265,6 +298,8 @@ public class NodeObject extends DObject
* the <code>locks</code> set. The set will not change until the
* event is actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void removeFromLocks (Comparable<?> key)
{
requestEntryRemove(LOCKS, locks, key);
@@ -275,6 +310,8 @@ public class NodeObject extends DObject
* <code>locks</code> set. The set will not change until the event is
* actually propagated through the system.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void updateLocks (NodeObject.Lock elem)
{
requestEntryUpdate(LOCKS, locks, elem);
@@ -290,6 +327,8 @@ public class NodeObject extends DObject
* change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setLocks (DSet<NodeObject.Lock> value)
{
requestAttributeChange(LOCKS, value, this.locks);
@@ -305,6 +344,8 @@ public class NodeObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setAcquiringLock (NodeObject.Lock value)
{
NodeObject.Lock ovalue = this.acquiringLock;
@@ -321,6 +362,8 @@ public class NodeObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setReleasingLock (NodeObject.Lock value)
{
NodeObject.Lock ovalue = this.releasingLock;
@@ -337,6 +380,8 @@ public class NodeObject extends DObject
* clients) will apply the value change when they received the
* attribute changed notification.
*/
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"},
date="2010-04-06T22:31:00-0700")
public void setCacheData (NodeObject.CacheData value)
{
NodeObject.CacheData ovalue = this.cacheData;
@@ -21,6 +21,8 @@
package com.threerings.presents.peer.data;
import javax.annotation.Generated;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.InvocationMarshaller;
@@ -33,6 +35,9 @@ import com.threerings.presents.peer.client.PeerService;
* interfaces that marshall the response arguments and deliver them back
* to the requesting client.
*/
@Generated(value={"com.threerings.presents.tools.GenServiceTask"},
date="2010-04-06T22:31:00-0700",
comments="Derived from the Service class java source.")
public class PeerMarshaller extends InvocationMarshaller
implements PeerService
{
@@ -21,6 +21,8 @@
package com.threerings.presents.peer.server;
import javax.annotation.Generated;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.peer.data.NodeObject;
@@ -31,6 +33,9 @@ import com.threerings.presents.server.InvocationException;
/**
* Dispatches requests to the {@link PeerProvider}.
*/
@Generated(value={"com.threerings.presents.tools.GenServiceTask"},
date="2010-04-06T22:31:00-0700",
comments="Derived from the Service class java source.")
public class PeerDispatcher extends InvocationDispatcher<PeerMarshaller>
{
/**
@@ -21,6 +21,8 @@
package com.threerings.presents.peer.server;
import javax.annotation.Generated;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.peer.client.PeerService;
@@ -31,6 +33,9 @@ import com.threerings.presents.server.InvocationProvider;
/**
* Defines the server-side of the {@link PeerService}.
*/
@Generated(value={"com.threerings.presents.tools.GenServiceTask"},
date="2010-04-06T22:31:00-0700",
comments="Derived from the Service class java source.")
public interface PeerProvider extends InvocationProvider
{
/**
@@ -21,6 +21,8 @@
package com.threerings.presents.server;
import javax.annotation.Generated;
import com.threerings.presents.client.TimeBaseService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.data.TimeBaseMarshaller;
@@ -28,6 +30,9 @@ import com.threerings.presents.data.TimeBaseMarshaller;
/**
* Dispatches requests to the {@link TimeBaseProvider}.
*/
@Generated(value={"com.threerings.presents.tools.GenServiceTask"},
date="2010-04-06T22:31:00-0700",
comments="Derived from the Service class java source.")
public class TimeBaseDispatcher extends InvocationDispatcher<TimeBaseMarshaller>
{
/**