Browse Source

no dontUseCache.

Nicolas Cannasse 18 years ago
parent
commit
96c934d7ea
1 changed files with 0 additions and 8 deletions
  1. 0 8
      std/neko/net/RemotingServer.hx

+ 0 - 8
std/neko/net/RemotingServer.hx

@@ -29,12 +29,10 @@ class RemotingServer {
 	var objects : Hash<Dynamic>;
 	var prefix : String;
 	var log : String -> Void;
-	var duc : Bool;
 
 	public function new() {
 		objects = new Hash();
 		log = null;
-		duc = false;
 	}
 
 	public function addObject( name : String, obj : Dynamic ) {
@@ -49,10 +47,6 @@ class RemotingServer {
 		prefix = p;
 	}
 
-	public function dontUseCache() {
-		duc = true;
-	}
-
 	public function resolvePath( path : Array<String> ) : Dynamic {
 		var objname = path.shift();
 		if( objname == null )
@@ -85,7 +79,6 @@ class RemotingServer {
 				throw "Calling not-a-function '"+f+"'";
 			var v = Reflect.callMethod(obj,funptr,args);
 			var s = new haxe.Serializer();
-			if( duc ) s.dontUseCache();
 			s.serialize(v);
 			neko.Lib.print("hxr");
 			neko.Lib.print(s.toString());
@@ -96,7 +89,6 @@ class RemotingServer {
 				log("\n\n");
 			}
 			var s = new haxe.Serializer();
-			if( duc ) s.dontUseCache();
 			s.serializeException(e);
 			neko.Lib.print("hxr");
 			neko.Lib.print(s.toString());