Menu

[r11]: / trunk / LCEnumerator / src / LCReceiver / LCReceiverEvent.as  Maximize  Restore  History

Download this file

60 lines (49 with data), 1.7 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
51
52
53
54
55
56
57
58
59
60
/****************************************************************************
* 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 LCReceiver
{
import flash.events.Event;
/**
* A custom Event for LCReceiver Class.
*/
public class LCReceiverEvent extends Event
{
public function LCReceiverEvent(type:String, args:Array = null)
{
super(type);
this._args = args;
}
// Define static constant.
public static const CONNECTION_RETURNED:String = "connectionReturned";
// Define static constant.
public static const STATUS_RETURNED:String = "statusReturned";
// Define a public variable to hold the state of the args property.
private var _args:Array;
// Define a public variable to hold the state of the args property.
private var _status:String;
// Override the inherited clone() method.
override public function clone():Event {
return new LCReceiverEvent(type, _args);
}
public function get args():Array {
return (_args);
}
/**
public function set args(argArr:Array):void {
pArgs = argArr;
}
*/
public function get status():String {
return (_status);
}
public function set status(str:String):void {
_status = 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.