Skip to content
Browse files

update redtamarin testfiles

  • Loading branch information...
1 parent 84f426f commit 8ec70cf331b6f7079c6d28ef365c35c0331563ce @hyrocles hyrocles committed Aug 5, 2011
View
0 server/test/snipe → server/redtamarin/snipe
File renamed without changes.
View
19 server/redtamarin/win testing
@@ -0,0 +1,19 @@
+C:\dev\JServ>java -jar redt/asc.jar -AS3 -import redt/builtin.abc -import redt/t
+oplevel.abc test/JServ.as
+
+JServ.abc, 382 bytes written
+
+C:\dev\JServ>java -jar redt/asc.jar -AS3 -import redt/builtin.abc -import redt/t
+oplevel.abc -import test/JServ.abc test.as
+
+test.abc, 178 bytes written
+
+C:\dev\JServ>cd redt
+
+C:\dev\JServ\redt>redshell.exe ../test/JServ.abc ../test.abc
+
+JServ 0.001a: testing Redtamarin
+127.0.0.1
+192.168.2.103
+
+C:\dev\JServ\redt>
View
BIN server/test.abc
Binary file not shown.
View
9 server/test.as
@@ -1,4 +1,7 @@
-import test.JServ;
+package test{
+ import test.JServ;
-var _Server:JServ = new JServ();
-_Server.print("testing Redtamarin");
+ var _Server:JServ = new JServ();
+ _Server.JPrint("testing Redtamarin");
+
+}
View
BIN server/test/JServ.abc
Binary file not shown.
View
6 server/test/JServ.as
@@ -1,13 +1,15 @@
package {
+ import avmplus.Socket;
+
public class JServ {
public var _sVersion:String;
public function JServ(){
this._sVersion = "JServ 0.001a";
}
- public function print(_sMsg:String):void {
- trace("\n" + this._sVersion + ": " + _sMsg);
+ public function JPrint(_sMsg:String):void {
+ trace("\n" + this._sVersion + ": " + _sMsg + "\n" + Socket.localAddresses.join( "\n" ));
}
}
}

0 comments on commit 8ec70cf

Please sign in to comment.
Something went wrong with that request. Please try again.