blob: 56f5e7f07125470043ec1e4f28fa68ac38939007 (
plain)
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
|
/*
* Copyright (c) 2009 Digital Bazaar, Inc. All rights reserved.
*
* @author Dave Longley
*/
package
{
import flash.events.Event;
/**
* A helper class that contains the ID for a Socket.
*/
public class SocketEvent extends Event
{
// the associated socket
public var socket:PooledSocket;
// an associated message
public var message:String;
/**
* Creates a new SocketEvent.
*
* @param type the type of event.
* @param socket the associated PooledSocket.
* @param message an associated message.
*/
public function SocketEvent(
type:String, socket:PooledSocket, message:String = null)
{
super(type, false, false);
this.socket = socket;
this.message = message;
}
}
}
|