Began porting 'whirled'.
The basic whirled stuff is here; compiling and working. 'Spot' still to come. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4133 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -81,8 +81,9 @@ public class InvocationDirector
|
||||
|
||||
// if we're logged on, clear out any receiver id mapping
|
||||
if (_clobj != null) {
|
||||
var rreg :InvocationRegistration =
|
||||
(_clobj.receivers.get(receiverCode) as InvocationRegistration);
|
||||
var rreg :InvocationReceiver_Registration =
|
||||
(_clobj.receivers.get(receiverCode) as
|
||||
InvocationReceiver_Registration);
|
||||
if (rreg == null) {
|
||||
log.warning("Receiver unregistered for which we have no " +
|
||||
"id to code mapping [code=" + receiverCode + "].");
|
||||
@@ -102,8 +103,9 @@ public class InvocationDirector
|
||||
*/
|
||||
internal function assignReceiverId (decoder :InvocationDecoder) :void
|
||||
{
|
||||
var reg :InvocationRegistration = new InvocationRegistration(
|
||||
decoder.getReceiverCode(), nextReceiverId());
|
||||
var reg :InvocationReceiver_Registration =
|
||||
new InvocationReceiver_Registration(decoder.getReceiverCode(),
|
||||
nextReceiverId());
|
||||
_clobj.addToReceivers(reg);
|
||||
_receivers.put(reg.receiverId, decoder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user