mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-29 16:39:40 +00:00
Import web-socket-js: a0fb3933ce5c824bcb882f5a1cf87e46de773ea8
web-socket-js is a flash based WebSockets emulator. From: http://github.com/gimite/web-socket-js
This commit is contained in:
30
include/web-socket-js/flash-src/WebSocketMessageEvent.as
Normal file
30
include/web-socket-js/flash-src/WebSocketMessageEvent.as
Normal file
@@ -0,0 +1,30 @@
|
||||
// Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
|
||||
// Lincense: New BSD Lincense
|
||||
// Reference: http://dev.w3.org/html5/websockets/
|
||||
// Reference: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-31
|
||||
|
||||
package {
|
||||
|
||||
import flash.display.*;
|
||||
import flash.events.*;
|
||||
import flash.external.*;
|
||||
import flash.net.*;
|
||||
import flash.system.*;
|
||||
import flash.utils.*;
|
||||
import mx.core.*;
|
||||
import mx.controls.*;
|
||||
import mx.events.*;
|
||||
import mx.utils.*;
|
||||
|
||||
public class WebSocketMessageEvent extends Event {
|
||||
|
||||
public var data:String;
|
||||
|
||||
public function WebSocketMessageEvent(type:String, data:String) {
|
||||
super(type);
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user