Menu

[r11]: / trunk / SWFInvestigator / src / osUtils / WebServerEvent.as  Maximize  Restore  History

Download this file

50 lines (41 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/****************************************************************************
* ADOBE SYSTEMS INCORPORATED
* Copyright 2012 Adobe Systems Incorporated and it’s licensors
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file
* in accordance with the terms of the license agreement accompanying it.
* ****************************************************************************/
package osUtils
{
import flash.events.Event;
public class WebServerEvent extends Event
{
public function WebServerEvent(type:String, mString:String = "")
{
// Call the constructor of the superclass.
super(type);
// Set the new property.
this._message = mString;
}
/**
* Used as a return Event for WebServer.
*/
public static const GENERAL_ERROR:String = "generalError";
/**
* Override the inherited clone() method.
*
* @return A WebServerEvent
*/
override public function clone():Event {
return new WebServerEvent(type, _message);
}
private var _message:String;
public function get message():String {
return (_message);
}
public function set message(str:String):void {
this._message = str;
}
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.