public class PlaceObject.ManagerCaller extends Object
_plobj.manager.invoke("someMethod", args);
and to route events through the right distributed object manager if we are running in
standalone/single-player mode where both client and server are running in the same VM.
Note: For this to work, your manager needs to override
PlaceManager.allowManagerCall() and return true for the desired method name.
But maybe you should consider using an InvocationService instead.| Modifier and Type | Method and Description |
|---|---|
void |
invoke(String method,
Object... args)
Deprecated.
this is pretty darn unsafe. Why don't you just set up a Service?
|
@Deprecated public void invoke(String method, Object... args)
Copyright © 2015. All rights reserved.