mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,40 @@
|
||||
package it.gotoandplay.smartfoxserver.http
|
||||
{
|
||||
import flash.events.Event;
|
||||
|
||||
public class HttpEvent extends Event
|
||||
{
|
||||
|
||||
public static const onHttpData:String = "onHttpData";
|
||||
|
||||
public static const onHttpError:String = "onHttpError";
|
||||
|
||||
public static const onHttpPollError:String = "onHttpPollError";
|
||||
|
||||
public static const onHttpConnect:String = "onHttpConnect";
|
||||
|
||||
public static const onHttpClose:String = "onHttpClose";
|
||||
|
||||
public var params:Object;
|
||||
|
||||
private var evtType:String;
|
||||
|
||||
public function HttpEvent(param1:String, param2:Object)
|
||||
{
|
||||
super(param1);
|
||||
this.params = param2;
|
||||
this.evtType = param1;
|
||||
}
|
||||
|
||||
override public function clone() : Event
|
||||
{
|
||||
return new HttpEvent(this.evtType,this.params);
|
||||
}
|
||||
|
||||
override public function toString() : String
|
||||
{
|
||||
return formatToString("HttpEvent","type","bubbles","cancelable","eventPhase","params");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user