Browse Source

added comment.

Nicolas Cannasse 19 years ago
parent
commit
b2ca985db1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      std/haxe/remoting/SocketConnection.hx

+ 5 - 0
std/haxe/remoting/SocketConnection.hx

@@ -147,6 +147,11 @@ class SocketConnection extends AsyncConnection {
 		#end
 	}
 
+	/**
+		Returns an exception only if one occured either in an onData answer callback
+		or in a request callback (in that case, the exception is also sent through
+		the network). No exception should ever escape this method.
+	**/
 	public static function processMessage( sc : SocketConnection, data : String ) {
 		var f : Dynamic -> Void;
 		var val : Dynamic;