A new type of general communication between peers - the NodeRequest - it's a lot like a NodeAction but produces a result which is sent back via the ResultListener.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6070 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -70,6 +70,12 @@ public class PeerDispatcher extends InvocationDispatcher<PeerMarshaller>
|
||||
);
|
||||
return;
|
||||
|
||||
case PeerMarshaller.INVOKE_REQUEST:
|
||||
((PeerProvider)provider).invokeRequest(
|
||||
source, (byte[])args[0], (InvocationService.ResultListener)args[1]
|
||||
);
|
||||
return;
|
||||
|
||||
case PeerMarshaller.RATIFY_LOCK_ACTION:
|
||||
((PeerProvider)provider).ratifyLockAction(
|
||||
source, (NodeObject.Lock)args[0], ((Boolean)args[1]).booleanValue()
|
||||
|
||||
Reference in New Issue
Block a user