use of com.jme3.network.serializing.serializers.SavableSerializer in project jmonkeyengine by jMonkeyEngine.
the class TestRemoteCall method main.
public static void main(String[] args) throws IOException, InterruptedException {
Serializer.registerClass(Savable.class, new SavableSerializer());
createServer();
Client client = Network.connectToServer("localhost", 5110);
client.start();
ObjectStore store = new ObjectStore(client);
ServerAccess access = store.getExposedObject("access", ServerAccess.class, true);
boolean result = access.attachChild("Models/Oto/Oto.mesh.xml");
System.out.println(result);
}
Aggregations