com.threerings.config.dist.data
Class DConfigObject.ClientEntryAddedEvent<T extends DSet.Entry>

java.lang.Object
  extended by com.threerings.presents.dobj.DEvent
      extended by com.threerings.presents.dobj.NamedEvent
          extended by com.threerings.presents.dobj.EntryEvent<T>
              extended by com.threerings.presents.dobj.EntryAddedEvent<T>
                  extended by com.threerings.config.dist.data.DConfigObject.ClientEntryAddedEvent<T>
All Implemented Interfaces:
Streamable
Enclosing class:
DConfigObject

public static class DConfigObject.ClientEntryAddedEvent<T extends DSet.Entry>
extends EntryAddedEvent<T>

Extends EntryAddedEvent to include the client oid.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
protected  int _clientOid
          The oid of the client that caused the event.
 
Fields inherited from class com.threerings.presents.dobj.EntryAddedEvent
_alreadyApplied, _entry
 
Fields inherited from class com.threerings.presents.dobj.NamedEvent
_name
 
Fields inherited from class com.threerings.presents.dobj.DEvent
_actualTransport, _soid, _toid, _transport, eventId, UNSET_OLD_ENTRY, UNSET_OLD_VALUE
 
Constructor Summary
DConfigObject.ClientEntryAddedEvent(int toid, String name, T entry, int clientOid)
          Default constructor.
 
Method Summary
 boolean applyToObject(DObject target)
           
 int getClientOid()
          Returns the oid of the client that caused the event.
 
Methods inherited from class com.threerings.presents.dobj.EntryAddedEvent
alreadyApplied, getEntry, getKey, getOldEntry, notifyListener, readField__entry, setAlreadyApplied, toString, writeField__entry
 
Methods inherited from class com.threerings.presents.dobj.NamedEvent
getName, readField__name, writeField__name
 
Methods inherited from class com.threerings.presents.dobj.DEvent
getActualTransport, getSourceOid, getTargetOid, getTransport, isPrivate, noteActualTransport, readField__toid, setSourceOid, setTargetOid, setTransport, toString, writeField__toid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_clientOid

protected int _clientOid
The oid of the client that caused the event.

Constructor Detail

DConfigObject.ClientEntryAddedEvent

public DConfigObject.ClientEntryAddedEvent(int toid,
                                           String name,
                                           T entry,
                                           int clientOid)
Default constructor.

Method Detail

getClientOid

public int getClientOid()
Returns the oid of the client that caused the event.


applyToObject

public boolean applyToObject(DObject target)
                      throws ObjectAccessException
Overrides:
applyToObject in class EntryAddedEvent<T extends DSet.Entry>
Throws:
ObjectAccessException